Container.AddService Container.AddService Container.AddService Container.AddService Method

Definition

Overloads

AddService<T,V>(String, ActivationContext<V>) AddService<T,V>(String, ActivationContext<V>) AddService<T,V>(String, ActivationContext<V>) AddService<T,V>(String, ActivationContext<V>)
AddService<T,V>(String, V) AddService<T,V>(String, V) AddService<T,V>(String, V) AddService<T,V>(String, V)

AddService<T,V>(String, ActivationContext<V>) AddService<T,V>(String, ActivationContext<V>) AddService<T,V>(String, ActivationContext<V>) AddService<T,V>(String, ActivationContext<V>)

public:
generic <typename T, typename V>
 where T : class where V : T virtual void AddService(System::String ^ name, Microsoft::EnterpriseManagement::ActivationContext<V> ^ context);
public void AddService<T,V> (string name, Microsoft.EnterpriseManagement.ActivationContext<V> context) where T : class where V : T;
abstract member AddService : string * Microsoft.EnterpriseManagement.ActivationContext<#'T> -> unit (requires 'T : null)
override this.AddService : string * Microsoft.EnterpriseManagement.ActivationContext<#'T> -> unit (requires 'T : null)
Public Sub AddService(Of T As Class, V As Class) (name As String, context As ActivationContext(Of V))

Type Parameters

T
V

Parameters

context
ActivationContext<V>

Implements

AddService<T,V>(String, V) AddService<T,V>(String, V) AddService<T,V>(String, V) AddService<T,V>(String, V)

public:
generic <typename T, typename V>
 where T : class where V : T virtual void AddService(System::String ^ name, V instance);
public void AddService<T,V> (string name, V instance) where T : class where V : T;
abstract member AddService : string * 'V -> unit (requires 'T : null)
override this.AddService : string * 'V -> unit (requires 'T : null)
Public Sub AddService(Of T As Class, V As Class) (name As String, instance As V)

Type Parameters

T
V

Parameters

instance

Implements

Applies to