PostSharp4.3/API Reference/Post­Sharp.​Extensibility Namespace/IProject Interface/IProject Methods/IProject.​Get­Extension­Elements Method
IProject.GetExtensionElements Method
Gets the set of project extension elements (ProjectExtensionElement) given their name and XML namespace.

Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
IEnumerable<ProjectExtensionElement> GetExtensionElements(
	string name,
	string ns
)

Parameters

name
Type: System.String
Local name of the project extension element.
ns
Type: System.String
XML namespace of the project extension element.

Return Value

Type: IEnumerable<ProjectExtensionElement>
The set of project elements named name in all loaded projects.
See Also