Click or drag to resize

ObjectWithBaseClassGetInheritedAttributes Method

Gets a collection of Attribute objects that are inherited from base classes. The own attributes are included in the enumeration.

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static IEnumerable<AttributeType> GetInheritedAttributes(
	this IClassWithBaseClassReference classWithBaseClass,
	bool includeSelf = true
)

Parameters

classWithBaseClass  IClassWithBaseClassReference
The class with a possible base class reference for inheritance.
includeSelf  Boolean  (Optional)
if set to true includes the own attributes.

Return Value

IEnumerableAttributeType
A collection of Attribute objects

Usage Note

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