PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Advices Namespace / Introduce­Interface­Attribute Class / Introduce­Interface­Attribute Properties / Introduce­Interface­Attribute.​Is­Protected Property
IntroduceInterfaceAttribute.IsProtected Property

Note: This API is now obsolete.

Determines whether the interface should be exposed indirectly through the IProtectedInterface<T> interface. If false, the interface will be implemented directly by the type.

Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp (in PostSharp.dll) Version: (
[ObsoleteAttribute("The IProtectedInterface mechanism is considered obsolete. Introduce and consume protected members instead.")]
public bool IsProtected { get; set; }

Property Value

Type: Boolean
See Also