WithServiceConditional<T>(Func<ServiceProvider<TBase>, T>)
Declaration
public ServiceProvider<TBase> WithServiceConditional<T>(Func<ServiceProvider<TBase>, T> func) where T : class, TBase
Parameters
Type | Name | Description |
---|---|---|
Func<ServiceProvider<TBase>, T> | func |
Returns
Type | Description |
---|---|
ServiceProvider<TBase> |
Type Parameters
Name | Description |
---|---|
T |