예제 #1
0
 public static Type GetGenericInterface(this Type type, Type genericInterface)
 => PrimitiveHelper.GetGenericInterface(type, genericInterface);
예제 #2
0
 public static Type GetGenericElementType(this Type type)
 => PrimitiveHelper.GetGenericElementType(type);
예제 #3
0
 public static Type GetIEnumerableType(this Type type)
 => PrimitiveHelper.GetIEnumerableType(type);
예제 #4
0
 public static Type GetDictionaryType(this Type type)
 => PrimitiveHelper.GetDictionaryType(type);
예제 #5
0
 public static bool ImplementsGenericInterface(this Type type, Type interfaceType)
 => PrimitiveHelper.ImplementsGenericInterface(type, interfaceType);
예제 #6
0
 public static bool IsGenericType(this Type type, Type genericType)
 => PrimitiveHelper.IsGenericType(type, genericType);
예제 #7
0
 public static bool IsListType(this Type type)
 => PrimitiveHelper.IsListType(type);
예제 #8
0
 public static bool IsDictionaryType(this Type type)
 => PrimitiveHelper.IsDictionaryType(type);
예제 #9
0
 public static bool IsEnumerableType(this Type type)
 => PrimitiveHelper.IsEnumerableType(type);
예제 #10
0
 public static bool IsQueryableType(this Type type)
 => PrimitiveHelper.IsQueryableType(type);
예제 #11
0
 public static bool IsCollectionType(this Type type)
 => PrimitiveHelper.IsCollectionType(type);
예제 #12
0
 public static Type GetTypeOfNullable(this Type type)
 => PrimitiveHelper.GetTypeOfNullable(type);
예제 #13
0
 public static MemberInfo GetFieldOrProperty(this Type type, string name)
 => PrimitiveHelper.GetFieldOrProperty(type, name);
예제 #14
0
 public static MethodInfo GetInheritedMethod(this Type type, string name)
 => PrimitiveHelper.GetInheritedMethod(type, name);
예제 #15
0
 public static TValue GetOrDefault <TKey, TValue>(this IDictionary <TKey, TValue> dictionary, TKey key)
 => PrimitiveHelper.GetOrDefault(dictionary, key);