Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Aspects / Introduce­Attribute / When­Inherited

Property WhenInherited

WhenInherited

Gets or sets the implementation strategy (like Override, Fail or Ignore) when the member is already declared in a parent class of the target type. The default value is Fail.

Declaration
public OverrideStrategy WhenInherited { get; set; }
Property Value
Type Description
OverrideStrategy