T_WolfCurses_AttributeExtensions - Maxwolf/WolfCurses GitHub Wiki
Meant for dealing with attributes and grabbing all the available classes of a given type with specified attribute using generics.
System.Object
WolfCurses.AttributeExtensions
Namespace: WolfCurses
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static class AttributeExtensions
The AttributeExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() |
GetAttributes(T) | Find the fields in an enum that have a specific attribute with a specific value. |
![]() ![]() |
GetEnumAttribute(T) | Extension method for enum's that helps with getting custom attributes off of enum values |
![]() ![]() |
GetTypesWith(TAttribute) | Find all the classes which have a custom attribute I've defined on them, and I want to be able to find them on-the-fly when an application is using my library. |
![]() ![]() |
IsImplementationOf | Determine if a type implements a specific generic interface type. |
![]() ![]() |
ToDescriptionAttribute | Attempts to grab description attribute from any object. |
Supported in: 0.1