Click or drag to resize

imbAttributeToolsgetAttributesT Method (PropertyInfo, Boolean)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Vraća sve atribute u tipu

Namespace:  imbSCI.Core.attributes
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static List<T> getAttributes<T>(
	this PropertyInfo input,
	bool includeInherited = false
)
where T : Attribute
Request Example View Source

Parameters

input
Type: System.ReflectionPropertyInfo
includeInherited (Optional)
Type: SystemBoolean

Type Parameters

T

Return Value

Type: ListT

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PropertyInfo. 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).
See Also