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