Beispiel #1
0
        public StringWorkflowState Starts(WildcardStart start)
        {
            var sagaId = start.Id;

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

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

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

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