MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Dependency­InjectionDependency­Injection­Options­BuilderIs­Required
Open sandboxFocus

DependencyInjectionOptionsBuilder.IsRequired Property

IsRequired

Sets a value indicating whether the default value for the IsRequired property of DependencyAttribute and IntroduceDependencyAttribute.

Declaration
public bool IsRequired { set; }
Property Value
Type Description
Boolean