ElseStatement Class |
Namespace: WeroSoft.Workflow.Statements
public sealed class ElseStatement : StructureStatement, IScopeStatement, IStructureStatement, IStatement, IStatementBase, ISyntaxAnalysis, IConditionStatement
The else statement is conform to the appropriate statement of C# or another high level programming language. It belongs to an if statement. Its statements are executed only if the condition of the if statement evaluates to false.
This code sample shows HPL code:
The code below shows the if - else statements with a constant expression evaluating to false.if (6 < 4) trace (TraceLevel.Info, "True") else trace (TraceLevel.Info, "False")
The ElseStatement type exposes the following members.
Name | Description | |
---|---|---|
ElseStatement | Initializes a new instance of the ElseStatement class |
Name | Description | |
---|---|---|
ExecutionState |
Gets a value indicating the execution state of the statement.
(Inherited from Statement.) | |
Id |
Gets or sets the identifier of the statement.
(Inherited from Statement.) | |
Indentation |
Gets the indentation of this particular statement within a expression tree.
(Inherited from Statement.) | |
IsDeactivated |
Gets or sets a value indicating whether the statement is deactivated from hierarchy or not.
(Inherited from Statement.) | |
IsDeactivating |
Gets or sets a value indicating whether the statement is deactivated and is deactivating its sub-ordinary statements or not.
(Inherited from Statement.) | |
IsExecutionClone |
Gets a value indicating whether this statement is an execution clone.
(Inherited from Statement.) | |
IsStatementDeactivated |
Gets a value indicating whether the statement is deactivated or not.
(Inherited from Statement.) | |
Item |
Gets the statement property.
(Inherited from Statement.) | |
MetaInfo |
Gets the meta information of the statement.
(Inherited from Statement.) | |
ModificationState |
Gets a value indicating whether any property of the statement has been modified.
(Inherited from Statement.) | |
Parent |
Gets the parent of the statement.
(Inherited from Statement.) | |
PathName |
Gets the path name.
(Inherited from Statement.) | |
ProgrammingName |
Gets the programming name of the statement.
(Inherited from Statement.) | |
StatementLine |
Gets the string representing the statement in the code.
(Inherited from Statement.) | |
Statements |
Gets the child statements within the HPL syntax tree.
(Inherited from StructureStatement.) | |
TypeFullName |
Gets the type name with the name space.
(Inherited from Statement.) | |
TypeName |
Gets the type name of the statement without its name space.
(Inherited from Statement.) |
Name | Description | |
---|---|---|
Aborted |
Default implementation of the event handler Aborted.
(Inherited from Statement.) | |
Analyzed |
Default implementation of the event handler Analyzed.
(Inherited from Statement.) | |
Analyzing |
Default implementation of the event handler Analyzing.
(Inherited from Statement.) | |
Changed |
Default implementation of the event handler Changed.
(Inherited from Statement.) | |
CleanupAnalysis |
Default implementation of the event handler Analyzing.
(Inherited from Statement.) | |
Created |
Default implementation of the event handler Created.
(Inherited from Statement.) | |
Creating |
Default implementation of the event handler Creating.
(Inherited from Statement.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Error |
Default implementation of the event handler Error.
(Inherited from Statement.) | |
Execute |
Base implementation of the event handler.
(Inherited from StructureStatement.) | |
Executed |
Default implementation of the event handler Executed.
(Inherited from Statement.) | |
Executing |
Default implementation of the event handler Executing.
(Inherited from Statement.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetProperties |
Gets a read only collection of cloned properties of the statement.
(Inherited from Statement.) | |
GetStatementLine |
Gets the signature representing the statement in the code.
(Inherited from Statement.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Loaded |
Default implementation of the event handler Loaded.
(Inherited from Statement.) | |
Migrate |
Default implementation of the event handler Migrate.
(Inherited from Statement.) | |
Saved |
Default implementation of the event handler Saved.
(Inherited from Statement.) | |
Saving |
Default implementation of the event handler Saving.
(Inherited from Statement.) | |
ToString |
Returns the statement standard layout.
(Inherited from Statement.) |
Name | Description | |
---|---|---|
Clone(CloneWorkingMode, IEnumerableType) | Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.) | |
CloneT(CloneWorkingMode, IEnumerableType) | Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.) | |
Convert | (Defined by DataConverterExtensions.) | |
CreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String) | Overloaded.
Creates a data entry into a string builder according to the giving parameters.
(Defined by TraceExtensions.) | |
CreateTraceDataEntry(SourceLevels, TraceableKind, String, String, Int32) | Overloaded.
Creates a trace entry for a data element.
(Defined by TraceExtensions.) | |
CreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String, String, Int32) | Overloaded.
Creates a trace entry into a string builder.
(Defined by TraceExtensions.) | |
DumpStatementTreeAsSource |
Lists the statement tree.
(Defined by DevelopmentHelper.) | |
DumpStatementTreeToString |
Write the statements to string in a range of lines.
(Defined by DevelopmentHelper.) | |
DynamicCast |
Dynamically casts a reference to another type.
(Defined by TypeManagerHelper.) | |
ExtractSystemParametersFromTrigger |
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.) | |
GetContextString |
Returns the library name and the method name where this statement is placed.
The context string is of the form (libraryName, methodname) or only (methodName), if method is not in a library.
(Defined by StatementExtensions.) | |
GetDirectNeighborDown |
Returns the direct neighbor in the same indentation down.
(Defined by StatementNavigator.) | |
GetDirectNeighborUp |
Returns the direct neighbor in the same indentation up.
(Defined by StatementNavigator.) | |
GetFieldValue(String) | Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.) | |
GetFieldValueT(String) | Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.) | |
GetList |
Populates a list by all statements within a tree of a specific statements.
(Defined by StatementNavigator.) | |
GetLogicNeighborDown |
Gets the logical neighbor down.
(Defined by StatementNavigator.) | |
GetNeighborDownT(Type) | Overloaded.
Gets the direct neighbor of the defined type.
(Defined by StatementNavigator.) | |
GetNeighborDownT(Type, NavigationMode) | Overloaded.
Gets the direct neighbor of the defined type.
(Defined by StatementNavigator.) | |
GetParentT |
Gets the parent statement in direct line of the defined statement to the root by a particular type.
(Defined by StatementNavigator.) | |
GetPropertyValue(String) | Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.) | |
GetPropertyValueT(String) | Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.) | |
Inject(Type, Object) | Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.) | |
Inject(Type, Object, Boolean) | Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.) | |
InjectField |
Injects a value to a property within a data object.
(Defined by DataInjection.) | |
InjectProperty(String, Object) | Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.) | |
InjectProperty(String, Type, Object) | Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.) | |
Invoke(String, Object) | Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.) | |
InvokeTResult(String, Object) | Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.) | |
LastStatement |
Gets the last statement from a particular branch of the statement tree.
(Defined by StatementNavigator.) | |
NextStatement |
Gets the next statement from the point of view of the defined statements' line.
(Defined by StatementNavigator.) | |
PreviousStatement |
Gets the previous statement from the point of view of the defined statements' line.
(Defined by StatementNavigator.) | |
PreviousStatementInScope |
Gets the previous statement in scope from the point of view of the defined statement.
(Defined by StatementNavigator.) | |
SetFieldValue |
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.) | |
SetPropertyValue |
Sets the data object on a defined property of a particular type.
(Defined by UnitTest.) | |
SetReadOnlyFieldValue |
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.) | |
TryInjectProperty |
Tries to Inject a value to a property within a data object.
(Defined by DataInjection.) |