public override bool AcceptCase(IWorkflowCase wfCase)
            {
                wfCase.RootToken.Enter(m_RootElements[0], null);
                wfCase.RootToken.Start();

                List <Token> tokens = new List <Token>();

                for (int i = 0; i < 3; i++)
                {
                    tokens.Add(wfCase.RootToken.Spawn());
                }

                for (int i = 0; i < 3; i++)
                {
                    ((IInputPort)m_rootBlock.Ports.Inputs[i]).Put(tokens[i]);
                }

                //return ( (IInputPort)m_rootBlock.Ports.Inputs[0] ).Put(tokens[0]);
                return(true);
            }
 public abstract bool AcceptCase(IWorkflowCase wfCase);
 void wfCase_CaseCompleted(IWorkflowCase wfCase, IWorkflow workflow)
 {
     Console.WriteLine("Case completed.");
 }