Class ServiceSwitcherScoped<T>
Same as the ServiceSwitcher<T> but must have another name so we can register it as scoped.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class ServiceSwitcherScoped<T> : ServiceSwitcher<T>, IHasLog where T : ISwitchableService
Type Parameters
T
- Inheritance
-
objectServiceSwitcherScoped<T>
- Implements
- Inherited Members
Constructors
ServiceSwitcherScoped(IEnumerable<T>)
Same as the ServiceSwitcher<T> but must have another name so we can register it as scoped.
public ServiceSwitcherScoped(IEnumerable<T> allServices)
Parameters
allServices
IEnumerable<T>