Property Optional
Optional
Marks this dependency as optional. Optional dependencies do not throw exceptions if the service is not available.
public bool Optional { get; init; }
Marks this dependency as optional. Optional dependencies do not throw exceptions if the service is not available.
public bool Optional { get; init; }