Click or drag to resize
weroSoft AG, Software
ICompositionService Interface
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Defines the responsibility of the composition service.

Namespace:  WeroSoft.ProcessManagement.Automation
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public interface ICompositionService : ICompositionContext, 
	IFactory, IDisposable

The ICompositionService type exposes the following members.

Properties
  NameDescription
Public propertyContextName
Gets the name of the context.
(Inherited from ICompositionContext.)
Public propertyContextType
Gets the type of the context.
(Inherited from ICompositionContext.)
Public propertyId
Gets the identifier of the context.
(Inherited from ICompositionContext.)
Public propertyManufacturingTypeDefinitions
Gets the type definitions this factory is responsible for.
(Inherited from IFactory.)
Public propertyMaximalInjectionDepth
Gets or sets the maximal depth of recursion for object.
(Inherited from ICompositionContext.)
Public propertyName
Gets or sets the name of the factory.
(Inherited from IFactory.)
Public propertyParent
Gets the parent context.
(Inherited from ICompositionContext.)
Top
Methods
  NameDescription
Public methodCreateContext
Creates a new local context.
Public methodCreateInstanceTManufactured
Creates a instance of the known type defined by the type parameter.
(Inherited from IFactory.)
Public methodCreateInstanceTResult(String)
Creates a instance of the type defined by its registration name.
(Inherited from IFactory.)
Public methodCreateInstanceTResult(Type)
Creates a instance of the type defined by its registration name.
(Inherited from IFactory.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetClientFactory
Gets the client factory.
(Inherited from ICompositionContext.)
Public methodGetContext
Gets
Public methodGetContext(Guid)
Gets the context with a defined identifier.
(Inherited from ICompositionContext.)
Public methodGetKnownTypes
Gets a read-only collection containing all registered types in the factory.
(Inherited from IFactory.)
Public methodGetManufacturedTypeFor(String)
Gets the manufactured type which is registered for a defined registered name.
(Inherited from ICompositionContext.)
Public methodGetManufacturedTypeFor(Type)
Gets the manufactured type which is registered for a defined knowing type.
(Inherited from ICompositionContext.)
Public methodHasManufacturedTypeFor(String)
Gets a value indicating whether the factory provides a type defined by the defined name.
(Inherited from IFactory.)
Public methodHasManufacturedTypeFor(Type)
Gets a value indicating whether the factory supports the defined type.
(Inherited from IFactory.)
Public methodRegisterSingletonObject(Object)
Registers an arbitrary object to be used as singleton object in the context.
(Inherited from ICompositionContext.)
Public methodRegisterSingletonObject(Object, Type)
Registers an arbitrary object to be used as singleton object in the context.
(Inherited from ICompositionContext.)
Public methodRegisterSingletonObject(Object, Type, String)
Registers an arbitrary object to be used as singleton object in the context.
(Inherited from ICompositionContext.)
Public methodRegisterSingletonObject(FactoryInstanceType, Object, Type, String)
Registers an arbitrary object to be used as singleton object in the context.
(Inherited from ICompositionContext.)
Public methodRegisterType(String, Type)
Registers a 3rd party singleton type in the current contexts' factory.
(Inherited from ICompositionContext.)
Public methodRegisterType(Type, String)
Registers a type for manufacturing using the registered name.
(Inherited from ICompositionContext.)
Public methodRegisterType(Type, Type)
Registers a type for manufacturing using the registered type.
(Inherited from ICompositionContext.)
Public methodSetClientFactory
Sets the client factory.
(Inherited from ICompositionContext.)
Public methodSetObject
Sets an object in into the context cache.
(Inherited from ICompositionContext.)
Public methodTryGetObjectT
Tries getting a value from the context cache.
(Inherited from ICompositionContext.)
Public methodTryGetSingleton(FactoryTypeDefinition, SingletonDefinition)
Tries to get a singleton.
(Inherited from ICompositionContext.)
Public methodTryGetSingleton(Type, SingletonDefinition)
Tries to get a singleton by the known type.
(Inherited from ICompositionContext.)
Top
See Also