Microsoft.Ccr.Core.MultipleItemGather.Evaluate C# (CSharp) Method

Evaluate() public method

public Evaluate ( IPortElement messageNode, ITask &deferredTask ) : bool
messageNode IPortElement
deferredTask ITask
return bool
        public override bool Evaluate(IPortElement messageNode, ref ITask deferredTask)
        {
            throw new InvalidOperationException ();
        }

Usage Example

コード例 #1
0
ファイル: MultipleItemGatherTest.cs プロジェクト: kumpera/Ccr
        public void Evaluate()
        {
            Type[] types = new Type[] { typeof (int), typeof (string) };
            IPortReceive[] ports = new IPortReceive[] { new Port<int>(), new Port<string> () };
            int count = 1;
            Handler<ICollection[]> handler = (cols) => {};
            var mig = new MultipleItemGather (types, ports, count, handler);

            try {
                ITask res = null;
                mig.Evaluate (new PortElement<int> (10), ref res);
                Assert.Fail ("#1");
            } catch (InvalidOperationException) {}
        }
All Usage Examples Of Microsoft.Ccr.Core.MultipleItemGather::Evaluate