Skip to content

IServiceResolver<TService>.Resolve method

Resolves TService using the service provider. If the service was registered as transient, this method acts like a factory.

public TService Resolve()

Return Value

TService instance.

See Also