public void return_undefined_when_type_is_object() { Check.That(TypeOfValueEnum.GetEnumTypeOf(typeof(StateValue))).IsEqualTo(TypeOfValue.Undefined); }
public static Type TypeOf(this TypeOfValue typeOfValue) { return(TypeOfValueEnum.GetTypeOf(typeOfValue)); }
public void return_typeofvalue_int() { Check.That(TypeOfValueEnum.GetEnumTypeOf(typeof(int))).IsEqualTo(TypeOfValue.Int); }
public static TypeOfValue GetTypeOfValue(this Type type) { return(TypeOfValueEnum.GetEnumTypeOf(type)); }