IDependencyContainer

Overview

Location


Required Methods


GetInstance    (declared in IObjectActivator)

 

method GetInstance(objectType: Type): Object

 

Object GetInstance(Type objectType)

 

Function GetInstance(objectType As Type) As Object

Parameters:

  • objectType:

Register

 

method Register(serviceType: Type)

 

void Register(Type serviceType)

 

Sub Register(serviceType As Type)

Parameters:

  • serviceType:

RegisterSingleton

 

method RegisterSingleton(serviceType: Type; instance: Object)

 

void RegisterSingleton(Type serviceType, Object instance)

 

Sub RegisterSingleton(serviceType As Type, instance As Object)

Parameters:

  • serviceType:
  • instance: