ReflectionUtils Class

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Reflection
Assembly Skybrud.Essentials.dll
Visibility Public
Keywords Static
Inheritance Object

Static utility class for working with reflection.

public static class ReflectionUtils { }

Methods

Returns the first attribute of type T, or null if no matching attributes are found.

Returns the first attribute of type T, or null if no matching attributes are found.

Returns the first attribute of type T, or null if no matching attributes are found.

Returns an array of attributes of type T.

Returns an array of attributes of type T.

Returns an array of attributes of type T.

Returns the file version of the specified assembly.

Returns an instance of FileVersionInfo with information about the specified assembly.

Returns the informational version of the specified assembly.

Returns the version of the specified assembly.

Returns whether the specified enum value has an attribute of type T.

Returns whether the specified enum value has an attribute of type T.

Returns whether the specified member has an attribute of type T.

Returns whether the specified member has an attribute of type T.

Returns whether the specified type has an attribute of type T.

Returns whether the specified type has an attribute of type T.

IsClass<T>() (static)

Returns whether T is a class type.

IsClass(Type) (static)

Returns whether the specified type is a class type.

IsEnum<T>() (static)

Returns whether T is an enum.

IsEnum(Type) (static)

Returns whether the specified type is an enum.

IsInterface<T>() (static)

Returns whether T is an interface type.

Returns whether the specified type is an interface type.

Returns whether the specified member is marked as obsolete.

Returns whether the specified member is marked as obsolete.

IsObsolete(Enum) (static)

Returns whether the specified enum value is marked as obsolete.

Returns whether the specified enum value is marked as obsolete.

IsObsolete(Type) (static)

Returns whether type is marked as obsolete.

Returns whether type is marked as obsolete.

IsObsolete<T>() (static)

Returns whether T is marked as obsolete.

Returns whether T is marked as obsolete.