Evaluate Method
Microsoft Robotics Class Reference
Invoked in the context Port.Post(). The receiver will consult its parent arbiter and if the parent accepts, the receiver will consume the item, and schedule a task with it as an argument
Namespace: Microsoft.Ccr.Core
Assembly: Microsoft.Ccr.Core (in Microsoft.Ccr.Core.dll) Version: 4.0.261.0 (4.0.261.0)
Syntax
public override bool Evaluate(
IPortElement messageNode,
ref ITask deferredTask
)
Parameters
- messageNode
Type: Microsoft.Ccr.Core.Arbiters. . :: . .IPortElement
Message being posted
- deferredTask
Type: Microsoft.Ccr.Core. . :: . .ITask%
Set to a task instance with the user delegate and message if arbitration is succesfull
Return Value
True if parent arbiter accepts, false otherwise