IContainer

Namespace: ASPSecurityKit
Assembly: ASPSecurityKit.dll

Summary

Provides an interface to represent a simple dependency injection resolver required by ASK components. You provide the implementation based on DI framework of your choice. Check out https://ASPSecurityKit.net/docs/source-packages/ – every source package comes with a default implementation.

Methods

Resolve<TService>()

Summary

Gets an instance registered for the specified service type.

Returns

An instance registered for the specified service type.

Parameters

This method has no parameters.

Generic Types
Name Description
TService The type of the service.

Resolve(serviceType)

Summary

Gets an instance registered for the specified service type.

Returns

An instance registered for the specified service type.

Parameters
Name Type Description
serviceType System.Type The service type.