C# Class EnumsNET.ReflectionUtility

ファイルを表示 Open project: TylerBrinkley/Enums.NET

Public Methods

Method Description
GetCustomAttributes ( this type, bool inherit ) : IEnumerable
GetGenericArguments ( this type ) : System.Type[]
GetGenericParameterConstraints ( this type ) : System.Type[]
GetInterfaces ( this type ) : IEnumerable
GetTypeCode ( this type ) : TypeCode
IsDefined ( this type, Type attributeType, bool inherit ) : bool
IsEnum ( this type ) : bool

Method Details

GetCustomAttributes() public static method

public static GetCustomAttributes ( this type, bool inherit ) : IEnumerable
type this
inherit bool
return IEnumerable

GetGenericArguments() public static method

public static GetGenericArguments ( this type ) : System.Type[]
type this
return System.Type[]

GetGenericParameterConstraints() public static method

public static GetGenericParameterConstraints ( this type ) : System.Type[]
type this
return System.Type[]

GetInterfaces() public static method

public static GetInterfaces ( this type ) : IEnumerable
type this
return IEnumerable

GetTypeCode() public static method

public static GetTypeCode ( this type ) : TypeCode
type this
return TypeCode

IsDefined() public static method

public static IsDefined ( this type, Type attributeType, bool inherit ) : bool
type this
attributeType System.Type
inherit bool
return bool

IsEnum() public static method

public static IsEnum ( this type ) : bool
type this
return bool