ServiceProvider<TBase>.WithUntypedService Method
WithUntypedService(Type, object, bool)
Declaration
public ServiceProvider<TBase> WithUntypedService(Type interfaceType, object implementation, bool allowOverride = false)
Parameters
Type | Name | Description |
---|---|---|
Type | interfaceType | |
object | implementation | |
bool | allowOverride |
Returns
Type | Description |
---|---|
ServiceProvider<TBase> |