WebHelperParseNullableEnumFromStorageT - метод
Пространство имён: Tessa.WebСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
public static T? ParseNullableEnumFromStorage<T>(
Object? value,
T? defaultValue = null
)
where T : struct, new(), IConvertible
Public Shared Function ParseNullableEnumFromStorage(Of T As {Structure, New, IConvertible}) (
value As Object,
Optional defaultValue As T? = Nothing
) As T?
public:
generic<typename T>
where T : value class, gcnew(), IConvertible
static Nullable<T> ParseNullableEnumFromStorage(
Object^ value,
Nullable<T> defaultValue = nullptr
)
static member ParseNullableEnumFromStorage :
value : Object *
?defaultValue : Nullable<'T>
(* Defaults:
let _defaultValue = defaultArg defaultValue null
*)
-> Nullable<'T> when 'T : struct, new() and IConvertible
- value Object
-
- defaultValue NullableT (Optional)
-
- T
NullableT