Open sandboxFocus

Property SuggestAsLiveTemplate

SuggestAsLiveTemplate

Gets or sets a value indicating whether the code refactoring menu should offer the possibility to apply this aspect as a live template, i.e., as an action that causes the aspect to applied to the source code itself. 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 LiveTemplate scenario is taken into account. See BuildEligibility(IEligibilityBuilder<T>) for details.

Declaration
public bool SuggestAsLiveTemplate { get; set; }
Property Value
Type Description
bool