ConvertReferenceNameToEnumT(String) Method

Get the value of the enumeration given its reference ReferenceNameAttribute.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static T ReferenceNameToEnum<T>(
	string value
)
where T : struct, new(), IConvertible

Parameters

value  String
The reference value.

Type Parameters

T
The enum type.

Return Value

T
The enum value corresponding to the reference value.

Exceptions

See Also