IsRequired
Gets or sets a value indicating whether the target must have an instance. When this property is true, the compiler reports an
error when the advice is applied to a static target. When it is false, the parameter receives null, or the default value
of its type. The default value is false.
Declaration
public bool IsRequired { get; set; }Property Value
| Type | Description |
|---|---|
| bool |