public CodeGenerator(DTE2 dte)
        {
            dte2 = dte;
            sln2 = (Solution2)dte2.Solution;

            renameT4Templates = new RenameT4Templates(sln2);
            removeT4Templates = new RemoveT4Templates(sln2);
            renameGeneratedCode = new RenameGeneratedCode(sln2);
            copyGeneratedTableCode = new CopyGeneratedTableCode(sln2);

            SetFindReplaceList();
        }
Пример #2
0
        public CodeGenerator(DTE2 dte)
        {
            dte2 = dte;
            sln2 = (Solution2)dte2.Solution;

            renameT4Templates      = new RenameT4Templates(sln2);
            removeT4Templates      = new RemoveT4Templates(sln2);
            renameGeneratedCode    = new RenameGeneratedCode(sln2);
            copyGeneratedTableCode = new CopyGeneratedTableCode(sln2);

            SetFindReplaceList();
        }