IServiceResolver<TService> interface
namespace: Serenity assembly: Serenity.Net.Core
A generic version of IServiceProvider which resolves a service on demand.
public interface IServiceResolver<TService>
parameter | description |
---|---|
TService |
Members
name | description |
---|---|
Resolve() | Resolves TService using the service provider. If the service was registered as transient, this method acts like a factory. |
See Also
- Source: IServiceResolver.cs