public GuidWorkflowState Starts(WildcardStart start)
        {
            var sagaId = Guid.Parse(start.Id);

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

            return(new IntWorkflowState
            {
                Id = sagaId,
                Name = start.Name
            });
        }
示例#3
0
        public StringWorkflowState Starts(WildcardStart start)
        {
            var sagaId = start.Id;

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

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