Click or drag to resize
weroSoft AG, Software
ListStatement Class
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Implements the HPL list 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 ListStatement : WorkflowCollectionStatement, 
	IVariable
Remarks

The list statement creates a collection (IEnumerable).

Examples

This code sample shows HPL code:

The code below shows the definition of a simple integer list.
trace(TraceLevel.Info, "Start Demo")
list<int> intList = new list <int>()
intList.Add(17)
intList.Add(31)
trace(TraceLevel.Info, "End of Demo")

The ListStatement type exposes the following members.

Constructors
  NameDescription
Public methodListStatement
Initializes a new instance of the ListStatement class
Top
Properties
  NameDescription
Public propertyComment
Gets or sets the comment of the statement.
(Inherited from VariableStatement.)
Public propertyCount
Gets the amount of elements in the collection.
(Inherited from WorkflowCollectionStatement.)
Public propertyDefinitionType
Gets the definition type of the list statement.
(Overrides WorkflowCollectionStatementDefinitionType.)
Public propertyExecutionState
Gets a value indicating the execution state of the statement.
(Inherited from Statement.)
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 propertyInitialExpression
Defines the initiation expression.
(Inherited from WorkflowVariableStatement.)
Public propertyIsAutoInstantiate
Gets or sets a value indicating whether the dictionary shall be automatically instantiated.
(Inherited from WorkflowCollectionStatement.)
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 propertyModifier
Gets or sets the modifier of the variable.
(Inherited from VariableStatement.)
Public propertyName
Gets or sets the name of the statement.
(Inherited from VariableStatement.)
Public propertyParent
Gets the parent of the statement.
(Inherited from Statement.)
Public propertyPathName
Gets the path name.
(Inherited from Statement.)
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 propertyType
Effective type the variable has during runtime.
(Inherited from VariableStatement.)
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 propertyValueType
Defines the type of the value of the dictionary.
(Inherited from WorkflowCollectionStatement.)
Public propertyVisibility
Gets or sets the item visibility of the variable.
(Inherited from WorkflowVariableStatement.)
Top
Methods
  NameDescription
Public methodAborted
Default implementation of the event handler Aborted.
(Inherited from Statement.)
Public methodAnalyzed
Analyzes the statement.
(Overrides VariableStatementAnalyzed(Object, StatementAnalysisEventArgs).)
Public methodAnalyzing
Default implementation of the event handler Analyzing.
(Inherited from Statement.)
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 methodCreateStatementLine
Implements the generation of the statement line for this statement.
(Overrides VariableStatementCreateStatementLine.)
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.
(Inherited from WorkflowCollectionStatement.)
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 methodGetItemVisibilityInPropertyGrid
Gets the visibility of the item.
(Inherited from VariableStatement.)
Public methodGetProperties
Gets a read only collection of cloned properties of the statement.
(Inherited from Statement.)
Public methodGetStatementLine
Gets the signature representing the statement in the code.
(Inherited from Statement.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Gets the value of the variable.
(Inherited from VariableStatement.)
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 methodSetValue
Sets the value
(Inherited from VariableStatement.)
Public methodToString
Returns the statement standard layout.
(Inherited from Statement.)
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