PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Composition­Aspect Class / Composition­Aspect Methods / Composition­Aspect.​Get­Public­Interfaces Method

CompositionAspect.GetPublicInterfaces Method

Gets the array of interfaces that should be introduced publicly into the target type of the current aspect.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
protected virtual Type[] GetPublicInterfaces(
	Type targetType
)

Parameters

targetType
Type: System.Type
Type to which the current aspect is applied.

Return Value

Type: Type[]
The array of interfaces that should be introduced publicly into TypetargetType, or null if no interface should be introduced publicly.
See Also