Skip to content

IServiceResolver<TService> interface

namespace: Serenity   assemblySerenity.Net.Core

A generic version of IServiceProvider which resolves a service on demand.

public interface IServiceResolver<TService>
parameter description
TService The type of the service to resolve.

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