Open sandboxFocus

Method GetAspectInstances

GetAspectInstances(object)

Gets the list of aspect instances on a given declaration.

Declaration
IAspectInstance[] GetAspectInstances(object declaration)
Parameters
Type Name Description
object declaration

The declaration (in the current assembly) for which the list of aspect instances is required.

Returns
Type Description
IAspectInstance[]

The list of aspect instances applied on declaration.