ServiceResolver<TService> constructor
namespace: Serenity.Extensions.DependencyInjection assembly: Serenity.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 |