attributehelpers - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Experimentation.DataGathering
Inherits from System.Object
A class containing various helpers for using custom attributes.
public static class AttributeHelpers| Name | Description |
|---|---|
| GetAttribute(MemberInfo) | Retrieves an attribute from a MemberInfo if possible. |
| GetReplacementHeader(MemberInfo,char) | Returns the header replacement of memberInfo if exist, separated by sep. |
| HasAttribute(MemberInfo) | Checks if a MemberInfo is annotated with the given Attribute. |
| TryGetAttribute(MemberInfo,T) | Returns the attribute as out-parameter and returns true if the attribute was found. |