StaticMethodFallbackSeverity
Gets or sets the severity of the message reported when a static method uses DefaultService although
UseDependencyInjection is true. The default value is Warning. Set it to
Error to require that every cached method receives its service from the container, or to
None to accept the fallback silently.
Declaration
public SeverityType StaticMethodFallbackSeverity { get; set; }Property Value
| Type | Description |
|---|---|
| SeverityType |