IsRequired
Gets a value indicating whether the dependency is required. When this property is set to false
, the code will accept missing dependencies.
The default value, when this property is neither specified nor overwritten, is true
.
Declaration
public bool IsRequired { get; }
Property Value
Type | Description |
---|---|
bool |