PostSharpAPI ReferencePost­Sharp.​AspectsComposition­AspectGet­Public­Interfaces
Open sandboxFocus

CompositionAspect.GetPublicInterfaces Method

GetPublicInterfaces(Type)

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

Declaration
protected virtual Type[] GetPublicInterfaces(Type targetType)
Parameters
Type Name Description
System.Type targetType

System.Type to which the current aspect is applied.

Returns
Type Description
System.Type[]

The array of interfaces that should be introduced publicly into System.Type targetType, or null if no interface should be introduced publicly.