MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Dependency­InjectionDependency­PropertiesIs­Required
Open sandboxFocus

DependencyProperties.IsRequired Property

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
System.Boolean