-
Notifications
You must be signed in to change notification settings - Fork 4
M_WolfCurses_AttributeExtensions_GetAttributes__1
Maxwolf edited this page Jan 2, 2016
·
1 revision
Find the fields in an enum that have a specific attribute with a specific value.
Namespace: WolfCurses
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static IEnumerable<T> GetAttributes<T>(
this ICustomAttributeProvider source,
bool inherit
)
where T : Attribute
- source
- Type: System.Reflection.ICustomAttributeProvider
The source. - inherit
- Type: System.Boolean
The inherit.
- T
- [Missing documentation for "M:WolfCurses.AttributeExtensions.GetAttributes``1(System.Reflection.ICustomAttributeProvider,System.Boolean)"]
Type: IEnumerable(T)
The [!:IEnumerable].
In Visual Basic and C#, you can call this method as an instance method on any object of type ICustomAttributeProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Supported in: 0.1
WolfCurses API
Created by Ron 'Maxwolf' McDowell
Send comments on this topic to [ron.mcdowell@gmail.com](mailto:ron.mcdowell%40gmail.com?Subject=WolfCurses API)- Project Overview
- Namespace List
- ArrayExtensions
- AttributeExtensions
- EnumerableExtension
- Methods
- IModule
- InputManager
- ITick
- IWindow
- Module
- Randomizer
- SceneGraph
- SimulationApp
- StringExtensions
- TypeExtensions
- Window(TCommands, TData)
- WindowData
- WindowFactory
- WindowManager
- Control Namespace
- MarqueeBar
- TextProgress
- Form Namespaces
- Form Namespace
- Form(TData)
- FormFactory
- IForm Interface
- ParentWindowAttribute Class
- Form.Input Namespace
- DialogResponse Enumeration
- DialogType Enumeration
- InputForm(T) Class
- Menu Namespace
- IMenuChoice(T) Interface
- MenuChoice(T) Class