Click or drag to resize

AltaxoServiceContainerAddService(Type, Object) Method

Adds the specified service to the service container.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public void AddService(
	Type serviceType,
	Object serviceInstance
)

Parameters

serviceType  Type
The type of service to add.
serviceInstance  Object
An instance of the service type to add. This object must implement or inherit from the type indicated by the serviceType parameter.

Implements

IServiceContainerAddService(Type, Object)
See Also