ReflectionExtensions Class

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

Extension methods for working with reflection.

public static class ReflectionExtensions { }

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 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.

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 value is marked as obsolete.

IsObsolete(Type) (static)

Returns whether the specified type is marked as obsolete.

Returns whether the specified type is marked as obsolete.