WebHelperParseEnumFromStorageT - метод
Пространство имён: Tessa.WebСборка: Tessa.Web (в Tessa.Web.dll) Версия: 3.6.0.22
public static T ParseEnumFromStorage<T>(
Object value,
T defaultValue = null
)
where T : Enum
Public Shared Function ParseEnumFromStorage(Of T As Enum) (
value As Object,
Optional defaultValue As T = Nothing
) As T
public:
generic<typename T>
where T : Enum
static T ParseEnumFromStorage(
Object^ value,
T defaultValue = nullptr
)
static member ParseEnumFromStorage :
value : Object *
?defaultValue : 'T
(* Defaults:
let _defaultValue = defaultArg defaultValue null
*)
-> 'T when 'T : Enum
- value Object
-
- defaultValue T (Optional)
-
- T
T