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