There was an error while loading. Please reload this page.
Returns custom attributes applied to provided type.
Namespace: CodeJam.MappingAssembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0
C#
public T[] GetAttributes<T>( Type type, Func<T, string> configGetter, bool inherit = true ) where T : Attribute
VB
Public Function GetAttributes(Of T As Attribute) ( type As Type, configGetter As Func(Of T, String), Optional inherit As Boolean = true ) As T()
F#
member GetAttributes : type : Type * configGetter : Func<'T, string> * ?inherit : bool (* Defaults: let _inherit = defaultArg inherit true *) -> 'T[] when 'T : Attribute
Type: T[]Array of custom attributes.
MappingSchema ClassGetAttributes OverloadCodeJam.Mapping Namespace