Esempio n. 1
0
 public static bool IsPrimitive(this TypeInfo type)
 => type.EnsureNotNull(nameof(type)).Value.IsPrimitive;
Esempio n. 2
0
 public static bool IsAbstract(this TypeInfo type)
 => type.EnsureNotNull(nameof(type)).Value.IsAbstract;
Esempio n. 3
0
 public static bool ContainsGenericParameters(this TypeInfo type)
 => type.EnsureNotNull(nameof(type)).Value.ContainsGenericParameters;
Esempio n. 4
0
 public static bool IsGenericTypeDefinition(this TypeInfo type)
 => type.EnsureNotNull(nameof(type)).Value.IsGenericTypeDefinition;
Esempio n. 5
0
 public static bool IsEnum(this TypeInfo type)
 => type.EnsureNotNull(nameof(type)).Value.IsEnum;
Esempio n. 6
0
 public static bool IsInterface(this TypeInfo type)
 => type.EnsureNotNull(nameof(type)).Value.IsInterface;