Altaxo user manual and class reference
Altaxo user manual and class reference
Altaxo class reference
Altaxo Namespaces
Altaxo.Main Namespaces
Altaxo.Main.Services
AltaxoServiceContainer Class
AltaxoServiceContainer Methods
AddService Method
AddService(Type, ServiceCreatorCallback) Method
AddService(Type, Object) Method
AddService(Type, ServiceCreatorCallback, Boolean) Method
AddService(Type, Object, Boolean) Method
Altaxo
Service
Container
Add
Service(Type, Service
Creator
Callback) 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#
Copy
public
void
AddService
(
Type
serviceType
,
ServiceCreatorCallback
callback
)
Parameters
serviceType
Type
The type of service to add.
callback
ServiceCreatorCallback
A callback object that is used to create the service. This allows a service to be declared as available, but delays the creation of the object until the service is requested.
Implements
IServiceContainer
AddService(Type, ServiceCreatorCallback)
See Also
Reference
AltaxoServiceContainer Class
AddService Overload
Altaxo.Main.Services Namespace
Altaxo can be downloaded from
SourceForge
. Source code available on
Github
.
(C) Dr. Dirk Lellinger and all contributors to the source code 2002 -
Send comments on this topic to
dlellinger@users.sourceforge.net