IKpokPatagonBuilder

Kpok patagon framework DI configuration interface.

Namespace:
KpokPatagon.DependencyInjection
Type:
Interface
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
Yes

Properties

Assemblies

A collection of framework assemblies.

Signature:
public Assembly[] Assemblies { get; }

Configuration

Application configuration.

Signature:
public IConfiguration Configuration { get; }

Services

The collection of service descriptors.

Signature:
public IServiceCollection Services { get; }

Methods

CreateServiceInstance

Creates an instance of from a class named typeName.

Signature:
public T CreateServiceInstance<T>(provider, typeName)
Parameters
Name Type Summary
provider IServiceProvider
typeName String

GetTypesAssignableFrom

Gets an array of Types that are assinable to desiredType.

Signature:
public Type[] GetTypesAssignableFrom(desiredType)
Parameters
Name Type Summary
desiredType Type

GetTypesAssignableFrom

Gets an array of Types that are assinable to .

Signature:
public Type[] GetTypesAssignableFrom<T>()