attributehelpers - eisclimber/ExPresS-XR GitHub Wiki

AttributeHelpers

Class in ExPresSXR.Experimentation.DataGathering

Inherits from System.Object

Summary

A class containing various helpers for using custom attributes.

public static class AttributeHelpers

Methods

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.
⚠️ **GitHub.com Fallback** ⚠️