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