MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Dependency­Injection.​ImplementationDependency­Injection­OptionsIs­Required
Open sandboxFocus

DependencyInjectionOptions.IsRequired Property

IsRequired

Gets or sets a value indicating whether the default value for the IsRequired property of DependencyAttribute and IntroduceDependencyAttribute.

Declaration
public bool? IsRequired { get; init; }
Property Value
Type Description
bool?