IsEmpty
Gets or sets a value indicating whether this template is an empty placeholder implementation.
Declaration
public bool IsEmpty { get; set; }Property Value
| Type | Description |
|---|---|
| bool |
Remarks
When set to true, this template is treated as undefined unless overridden in a derived aspect class.
This is similar to an abstract template, but unlike abstract templates, derived aspects are not required to
provide an implementation.
Empty templates are useful when creating aspect base classes that provide default no-op implementations for optional template methods (e.g., async or iterator method templates in OverrideMethodAspect).