Skip to content

M_WolfCurses_AttributeExtensions_GetTypesWith__1

Maxwolf edited this page Jan 2, 2016 · 1 revision

AttributeExtensions.GetTypesWith(TAttribute) Method

Find all the classes which have a custom attribute I've defined on them, and I want to be able to find them on-the-fly when an application is using my library.

Namespace: WolfCurses
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public static IEnumerable<Type> GetTypesWith<TAttribute>(
	bool inherit
)
where TAttribute : Attribute

Parameters

 

inherit
Type: System.Boolean
The inherit.

Type Parameters

 

TAttribute
[Missing documentation for "M:WolfCurses.AttributeExtensions.GetTypesWith``1(System.Boolean)"]

Return Value

Type: IEnumerable(Type)
The [!:IEnumerable].

Remarks

http://stackoverflow.com/a/720171

Version Information

Wolf Curses

Supported in: 0.1

See Also

Reference

AttributeExtensions Class
WolfCurses Namespace

Clone this wiki locally