PostSharp6.5//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: 6.5.4.0 (6.5.4.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