ServiceResolver<TService> constructor

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

Initializes a new instance.

public ServiceResolver(IServiceProvider serviceProvider)
parameter description
serviceProvider The service provider

Exceptions

exception condition
ArgumentNullException Throws when service provider is null

See Also