Exemplo n.º 1
0
        public static async Task TestCFQuickStart()
        {
            var context = new CFQuickStartStateMachine.Context
            {
                ProjectName         = "dotstep-starter",
                SourceCodeDirectory = "dotstep-starter-master",
                ProjectZipLocation  = "https://github.com/paulfryer/dotstep-starter/archive/master.zip"
            };

            var engine = new StateMachineEngine <CFQuickStartStateMachine, CFQuickStartStateMachine.Context>(context);
            var sm     = new CFQuickStartStateMachine();
            await engine.Start();
        }
Exemplo n.º 2
0
        public static async Task TestRequired()
        {
            var context = new CFQuickStartStateMachine.Context
            {
                //ProjectName = "dotstep-starter",
                SourceCodeDirectory = "dotstep-starter-master",
                ProjectZipLocation  = "https://github.com/paulfryer/dotstep-starter/archive/master.zip"
            };

            var lambda = new ValidateMessage <CFQuickStartStateMachine.Context>();

            context = await lambda.Execute(context);
        }