Click or drag to resize
weroSoft AG, Software
InstanceService Class
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Implements the standard instance service.
Inheritance Hierarchy

Namespace:  WeroSoft.ProcessManagement.Automation
Assembly:  WeroSoft.Core.Process.Library (in WeroSoft.Core.Process.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public sealed class InstanceService : ApplicationService<IInstanceService>, 
	IInstanceService, IDisposable

The InstanceService type exposes the following members.

Constructors
  NameDescription
Public methodInstanceService
Initializes a new instance of the type InstanceService.
Top
Properties
  NameDescription
Public propertyCompositions
Gets or sets the composition service.
Public propertyConfigurations
Gets or sets the configuration service.
Public propertyDataFactory
Gets or sets the data factory to use for the initialization of instance properties.
Public propertyExceptions
Gets or sets the exception service.
Public propertyExpressions
Gets or sets the expression service.
Public propertyIsInitiationError
Gets or sets a value indicating whether the service had an error during configuration.
(Inherited from ApplicationServiceTService.)
Public propertyIsSystemService
Gets a value indicating that this service is a mandatory service.
(Inherited from ApplicationServiceTService.)
Public propertyOrder
Gets the order of the service.
(Inherited from ApplicationServiceTService.)
Public propertyTrace
Gets or sets the trace service access.
Top
Methods
  NameDescription
Public methodApplyProperties
Apply the engines and engine workers properties.
Public methodCleanup
Called if the component gets cleaned.
(Inherited from BaseLifeCycle.)
Public methodCreate
Called if the component gets created.
(Inherited from BaseLifeCycle.)
Public methodCreateEngineConnections
Create the engines and engine workers connections according to the configuration.
Public methodCreateInstance(Guid, Type)
Create a simple instance of the given type.
Public methodCreateInstance(Type, String)
Create a simple instance of the given type.
Public methodDispose
Disposes the object using the dispose pattern of .NET.
(Inherited from ComponentBase.)
Public methodDispose(Object, DisposeEventArgs)
Called if the component gets disposed.
(Inherited from ComponentBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecute
Called if the component gets executed.
(Inherited from BaseLifeCycleComponent.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetProxy (Overrides ApplicationServiceTServiceGetProxy.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Called if the component gets initialized.
(Overrides BaseLifeCycleInitialize(Object, InitializeEventArgs).)
Public methodRunning
Called if the components are started.
(Inherited from StandardComponent.)
Public methodStopping
Called after the stop sequence of the object has been done.
(Inherited from StandardComponent.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVerify
Called if the component gets verified.
(Inherited from BaseLifeCycle.)
Top
Extension Methods
  NameDescription
Public Extension MethodClone(CloneWorkingMode, IEnumerableType)Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.)
Public Extension MethodCloneT(CloneWorkingMode, IEnumerableType)Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.)
Public Extension MethodConvert (Defined by DataConverterExtensions.)
Public Extension MethodCreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String)Overloaded.
Creates a data entry into a string builder according to the giving parameters.
(Defined by TraceExtensions.)
Public Extension MethodCreateTraceDataEntry(SourceLevels, TraceableKind, String, String, Int32)Overloaded.
Creates a trace entry for a data element.
(Defined by TraceExtensions.)
Public Extension MethodCreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String, String, Int32)Overloaded.
Creates a trace entry into a string builder.
(Defined by TraceExtensions.)
Public Extension MethodDynamicCast
Dynamically casts a reference to another type.
(Defined by TypeManagerHelper.)
Public Extension MethodExtractSystemParametersFromTrigger
Extracts the system parameters from a collection of trigger parameter and transform them to a dictionary using string keys and string values.
(Defined by TriggerExtensions.)
Public Extension MethodGetFieldValue(String)Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetFieldValueT(String)Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetPropertyValue(String)Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetPropertyValueT(String)Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodInject(Type, Object)Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.)
Public Extension MethodInject(Type, Object, Boolean)Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.)
Public Extension MethodInjectField
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInjectProperty(String, Object)Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInjectProperty(String, Type, Object)Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInvoke(String, Object)Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.)
Public Extension MethodInvokeTResult(String, Object)Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.)
Public Extension MethodSetFieldValue
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodSetPropertyValue
Sets the data object on a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodSetReadOnlyFieldValue
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodTryInjectProperty
Tries to Inject a value to a property within a data object.
(Defined by DataInjection.)
Top
See Also