Click or drag to resize
weroSoft AG, Software
ExecuteStatement Class
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Implements the HPL 'execute' statement.
Inheritance Hierarchy

Namespace:  WeroSoft.Workflow.Statements
Assembly:  WeroSoft.Workflow.Core.Library (in WeroSoft.Workflow.Core.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public sealed class ExecuteStatement : SingleStatement, 
	IAssignableVariableStatement
Remarks
The execute statement is responsible to execute command line based applications. It is not the right choice to execute workflow functions or workflow expressions.

The ExecuteStatement type exposes the following members.

Constructors
  NameDescription
Public methodExecuteStatement
Initializes a new instance of the ExecuteStatement class
Top
Properties
  NameDescription
Public propertyArguments
Gets or sets the command of the statement.
Public propertyAssignedVariableName
Gets or sets the name of the assigned variable of the exit code.
Public propertyCommand
Gets or sets the command of the statement.
Public propertyExecuteSynchronous
Gets or sets a value indicating whether the execution shall perform synchronous or asynchronous.
Public propertyExecutionState
Gets a value indicating the execution state of the statement.
(Inherited from Statement.)
Public propertyExecutionTimeout
Gets or sets a value the execution timeout.
Public propertyId
Gets or sets the identifier of the statement.
(Inherited from Statement.)
Public propertyIndentation
Gets the indentation of this particular statement within a expression tree.
(Inherited from Statement.)
Public propertyIsDeactivated
Gets or sets a value indicating whether the statement is deactivated from hierarchy or not.
(Inherited from Statement.)
Public propertyIsDeactivating
Gets or sets a value indicating whether the statement is deactivated and is deactivating its sub-ordinary statements or not.
(Inherited from Statement.)
Public propertyIsExecutionClone
Gets a value indicating whether this statement is an execution clone.
(Inherited from Statement.)
Public propertyIsStatementDeactivated
Gets a value indicating whether the statement is deactivated or not.
(Inherited from Statement.)
Public propertyItem
Gets the statement property.
(Inherited from Statement.)
Public propertyMetaInfo
Gets the meta information of the statement.
(Inherited from Statement.)
Public propertyModificationState
Gets a value indicating whether any property of the statement has been modified.
(Inherited from Statement.)
Public propertyParent
Gets the parent of the statement.
(Inherited from Statement.)
Public propertyPathName
Gets the path name.
(Inherited from Statement.)
Public propertyProcessWindow
Gets or sets a value indicating whether to start the process in a new window.
Public propertyProgrammingName
Gets the programming name of the statement.
(Inherited from Statement.)
Public propertyStatementLine
Gets the string representing the statement in the code.
(Inherited from Statement.)
Public propertyTraceExecution
Gets or sets a value indicating whether the process shall be traced or not.
Public propertyTypeFullName
Gets the type name with the name space.
(Inherited from Statement.)
Public propertyTypeName
Gets the type name of the statement without its name space.
(Inherited from Statement.)
Public propertyWorkingDirectory
Gets or sets the command of the statement.
Top
Methods
  NameDescription
Public methodAborted
Default implementation of the event handler Aborted.
(Inherited from Statement.)
Public methodAnalyzed
Default implementation of the event handler Analyzed.
(Inherited from Statement.)
Public methodAnalyzing (Overrides StatementAnalyzing(Object, StatementAnalysisEventArgs).)
Public methodChanged
Default implementation of the event handler Changed.
(Inherited from Statement.)
Public methodCleanupAnalysis
Default implementation of the event handler Analyzing.
(Inherited from Statement.)
Public methodCreated
Default implementation of the event handler Created.
(Inherited from Statement.)
Public methodCreating
Default implementation of the event handler Creating.
(Inherited from Statement.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodError
Default implementation of the event handler Error.
(Inherited from Statement.)
Public methodExecute
Implements the execution of the statement.
(Overrides StatementExecute(Object, StatementExecutionEventArgs).)
Public methodExecuted
Default implementation of the event handler Executed.
(Inherited from Statement.)
Public methodExecuting
Default implementation of the event handler Executing.
(Inherited from Statement.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetProperties
Gets a read only collection of cloned properties of the statement.
(Inherited from Statement.)
Public methodGetStatementLine
Creates the statement line.
(Overrides StatementGetStatementLine.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoaded
Default implementation of the event handler Loaded.
(Inherited from Statement.)
Public methodMigrate
Default implementation of the event handler Migrate.
(Inherited from Statement.)
Public methodSaved
Default implementation of the event handler Saved.
(Inherited from Statement.)
Public methodSaving
Default implementation of the event handler Saving.
(Inherited from Statement.)
Public methodToString
Returns the statement standard layout.
(Inherited from Statement.)
Top
Fields
  NameDescription
Public fieldStatic memberArgumentsProperty
Gets the name of the property 'Arguments' as a string.
Public fieldStatic memberAssignedVariableNameProperty
Gets the name of the property 'ExitCode' as a string.
Public fieldStatic memberCommandProperty
Gets the name of the property 'Command' as a string.
Public fieldStatic memberExecuteSynchronousProperty
Gets the name of the property 'ExecuteSynchronous' as a string.
Public fieldStatic memberExecutionTimeoutProperty
Gets the name of the property 'ExecutionTimeout' as a string.
Public fieldStatic memberProcessWindowProperty
Gets the name of the property 'ProcessWindow' as a string.
Public fieldStatic memberTraceExecutionProperty
Gets the name of the property 'TraceExecution' as a string.
Public fieldStatic memberWorkingDirectoryProperty
Gets the name of the property 'WorkingDirectory' as a string.
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