The Calculate workflow element awaits the finish of other workflow elements and has mechanisms to provide results.    It is used to encapsulate and modularize workflows and is very similar to the Group workflow element

The following tables list the members exposed by the CalculateResult<TResult> type.

Public Constructors

 

Name

Description

Public constructor Supported by the .NET Compact Framework.

CalculateResult<TResult>

Initializes a new instance of the CalculateResult<TResult> class. Initializes a new instance of the CalculateResult class.

Top

Public Properties

 

Name

Description

Public property Supported by the .NET Compact Framework.

Config

Gets or sets the configuration.

Public property Supported by the .NET Compact Framework.

IsDisposed

Gets a value indicating whether is disposed. (inherited from WorkflowChildBase).

Public property Supported by the .NET Compact Framework.

IsParentReferenced

Gets a value indicating whether is parent referenced. (inherited from WorkflowChildBase).

Public property Supported by the .NET Compact Framework.

IsReferenced

Gets a value indicating whether is referenced. (inherited from WorkflowParentBase).

Public property Supported by the .NET Compact Framework.

IsRoot

Gets a value indicating whether is root. (inherited from WorkflowParentBase).

Public property Supported by the .NET Compact Framework.

Item

The this. (inherited from WorkflowParentBase).

Public property Supported by the .NET Compact Framework.

ParentLimit

Gets the parent limit. (inherited from WorkflowChildBase).

Public property Supported by the .NET Compact Framework.

ProcessingInfo

Gets the processing info.

Public property Supported by the .NET Compact Framework.

Properties

Gets the properties. (inherited from WorkflowParentBase).

Public property Supported by the .NET Compact Framework.

Result

Gets or sets the result. This isn't a thread save operation and must be synchronized.    Workflow children must use the AddItem or SetItem methods to synchronize the assembly of the result.    Access can also be synchronized by putting a lock on the SyncRoot object.

Public property Supported by the .NET Compact Framework.

Success

Gets or sets a value indicating whether success. (inherited from WorkflowParentBase).

Public property Supported by the .NET Compact Framework.

SyncRoot

Gets the synchronize root.

Public property Supported by the .NET Compact Framework.

Task

Gets the task. (inherited from WorkflowChildBase).

Public property Supported by the .NET Compact Framework.

WorkflowIndex

Gets the child index. (inherited from WorkflowChildBase).

Public property Supported by the .NET Compact Framework.

WorkflowParent

Gets the workflow parent. (inherited from WorkflowChildBase).

Top

Public Methods

 

Name

Description

Public method Supported by the .NET Compact Framework.

Dispose

The dispose. (inherited from WorkflowChildBase).

Public method

Equals

(Overloaded) Determines whether the specified Object is equal to the current Object. (inherited from Object).

Public method Supported by the .NET Compact Framework.

GetAwaiter

Gets the awaiter

Public method Supported by the .NET Compact Framework.

GetCostAggregator

The get cost aggregator. (inherited from WorkflowChildBase).

Public method

GetHashCode

Serves as a hash function for a particular type. (inherited from Object).

Public method

GetType

(Overloaded) Gets the Type of the current instance. (inherited from Object).

Public method Supported by the .NET Compact Framework.

MarkFailed

Marks the child as failed. (inherited from WorkflowChildBase).

Public method Supported by the .NET Compact Framework.

MarkSuccessful

Marks the the child as successful. (inherited from WorkflowChildBase).

Public method Static

ReferenceEquals

Determines whether the specified Object instances are the same instance. (inherited from Object).

Public method Supported by the .NET Compact Framework.

SetParentLimit

The set parent limit. (inherited from WorkflowChildBase).

Public method Supported by the .NET Compact Framework.

ToString

The to string. (inherited from WorkflowParentBase).

Top

Protected Methods

 

Name

Description

Protected method Supported by the .NET Compact Framework.

BeginParentReference

The begin parent reference. (inherited from WorkflowChildBase).

Protected method Supported by the .NET Compact Framework.

EndParentReference

The end parent reference. (inherited from WorkflowChildBase).

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).

Protected method Supported by the .NET Compact Framework.

GetProcessingInfo

Gets the processing info

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (inherited from Object).

Protected method Supported by the .NET Compact Framework.

OnAllChildrenProcessed

Work that should be done when all children are processed

Protected method Supported by the .NET Compact Framework.

OnBeginChildProcessing

The on begin child processing. (inherited from WorkflowParentBase).

Protected method Supported by the .NET Compact Framework.

OnDispose

The on dispose. (inherited from WorkflowParentBase).

Protected method Supported by the .NET Compact Framework.

OnEndChildProcessing

The on end child processing. (inherited from WorkflowParentBase).

Protected method Supported by the .NET Compact Framework.

SetResultInternal

Sets the result internal.

Protected method Supported by the .NET Compact Framework.

SetWorkflowParentForNewChildren

Sets the workflow parent for new children. (inherited from WorkflowChildBase).

Protected method Supported by the .NET Compact Framework.

StartWork

Starts the work of this instance (inherited from WorkflowChildBase).

Top

See Also