Esempio n. 1
0
        private static void ExecuteGlobalPostActions(List <GenInfo> genItems)
        {
            var postActions = PostActionFactory.FindGlobal(genItems);

            foreach (var postAction in postActions)
            {
                postAction.Execute();
            }
        }
Esempio n. 2
0
        private static void ExecutePostActions(GenInfo genInfo, TemplateCreationResult generationResult)
        {
            // Get post actions from template
            var postActions = PostActionFactory.Find(genInfo, generationResult);

            foreach (var postAction in postActions)
            {
                postAction.Execute();
            }
        }
 private NewItemGenController(PostActionFactory postactionFactory)
 {
     PostactionFactory = postactionFactory;
 }
 private NewProjectGenController(PostActionFactory postactionFactory)
 {
     PostactionFactory = postactionFactory;
 }