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