Esempio n. 1
0
        public LongWorkflowState Starts(WildcardStart start)
        {
            var sagaId = long.Parse(start.Id);

            return(new LongWorkflowState
            {
                Id = sagaId,
                Name = start.Name
            });
        }
Esempio n. 2
0
        public IntWorkflowState Starts(WildcardStart start)
        {
            var sagaId = int.Parse(start.Id);

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

            return(new GuidWorkflowState
            {
                Id = sagaId,
                Name = start.Name
            });
        }
Esempio n. 4
0
        public StringWorkflowState Starts(WildcardStart start)
        {
            var sagaId = start.Id;

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