Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Aspects / Editor­Experience­Attribute / Suggest­As­Add­Attribute

Property SuggestAsAddAttribute


Gets or sets a value indicating whether the code refactoring menu should offer the possibility to apply this aspect as a custom attribute. This property is false by default. The property is ignored if the aspect class does not have a default constructor. The eligibility of the aspect for the Aspect or Inheritance scenario is taken into account. See BuildEligibility(IEligibilityBuilder<T>) for details.

public bool SuggestAsAddAttribute { get; set; }
Property Value
Type Description