コード例 #1
0
        public LongWorkflowState Starts(WildcardStart start)
        {
            var sagaId = long.Parse(start.Id);

            return(new LongWorkflowState
            {
                Id = sagaId,
                Name = start.Name
            });
        }
コード例 #2
0
        public IntWorkflowState Starts(WildcardStart start)
        {
            var sagaId = int.Parse(start.Id);

            return(new IntWorkflowState
            {
                Id = sagaId,
                Name = start.Name
            });
        }
コード例 #3
0
        public GuidWorkflowState Starts(WildcardStart start)
        {
            var sagaId = Guid.Parse(start.Id);

            return(new GuidWorkflowState
            {
                Id = sagaId,
                Name = start.Name
            });
        }
コード例 #4
0
        public StringWorkflowState Starts(WildcardStart start)
        {
            var sagaId = start.Id;

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