We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Returns custom attribute applied to provided type member.
Namespace: CodeJam.MappingAssembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0
C#
public T GetAttribute<T>( MemberInfo memberInfo, Func<T, string> configGetter, bool inherit = true ) where T : Attribute
VB
Public Function GetAttribute(Of T As Attribute) ( memberInfo As MemberInfo, configGetter As Func(Of T, String), Optional inherit As Boolean = true ) As T
F#
member GetAttribute : memberInfo : MemberInfo * configGetter : Func<'T, string> * ?inherit : bool (* Defaults: let _inherit = defaultArg inherit true *) -> 'T when 'T : Attribute
Type: TA custom attribute or null.
MappingSchema ClassGetAttribute OverloadCodeJam.Mapping Namespace