ServiceResolver<TService>.Resolve method

namespace: Serenity.Extensions.DependencyInjection   assemblySerenity.Net.Core

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