예제 #1
0
        public IntWorkflowState Starts(WildcardStart start)
        {
            var sagaId = int.Parse(start.Id);

            return(new IntWorkflowState
            {
                Id = sagaId,
                Name = start.Name
            });
        }
예제 #2
0
        public StringWorkflowState Starts(WildcardStart start)
        {
            var sagaId = start.Id;

            return(new StringWorkflowState
            {
                Id = sagaId,
                Name = start.Name
            });
        }
예제 #3
0
        public LongWorkflowState Starts(WildcardStart start)
        {
            var sagaId = long.Parse(start.Id);

            return(new LongWorkflowState
            {
                Id = sagaId,
                Name = start.Name
            });
        }
        public GuidWorkflowState Starts(WildcardStart start)
        {
            var sagaId = Guid.Parse(start.Id);

            return(new GuidWorkflowState
            {
                Id = sagaId,
                Name = start.Name
            });
        }