public override int GetHashCode()
        {
            var hashCode = -582915105;

            hashCode = hashCode * -1521134295 + MoveDelay.GetHashCode();
            hashCode = hashCode * -1521134295 + DiscoverDelay.GetHashCode();
            hashCode = hashCode * -1521134295 + TestDelay.GetHashCode();
            hashCode = hashCode * -1521134295 + PickUpDelay.GetHashCode();
            hashCode = hashCode * -1521134295 + PlacingDelay.GetHashCode();
            hashCode = hashCode * -1521134295 + KnowledgeExchangeDelay.GetHashCode();
            return(hashCode);
        }
Exemple #2
0
        public void FlowchartContainingActivityWithColonInDisplayName()
        {
            TestDelay delay = new TestDelay
            {
                DisplayName = "001008 Delay 00:00:02.0000000",
                Duration    = new TimeSpan(0, 0, 2)
            };
            TestFlowchart flow = new TestFlowchart();

            flow.AddStartLink(delay);

            TestRuntime.RunAndValidateWorkflow(flow);
        }