コード例 #1
0
 public CompositeClassGenerator(
     BaseCustomTool customTool, ICodeGenerator codeGenerator, string inputFileName)
 {
     _codeGenerator = codeGenerator;
     _inputFileName = inputFileName;
     _vsHelper = new VsHelper();
     EnvDTE.Project project = _vsHelper.GetProject();
     _assemblies = _vsHelper.GetReferencedAssemblies(customTool, false);
     _projectDirectory = _vsHelper.GetProjectDirectory();
 }
コード例 #2
0
        public Assembly[] GetReferencedAssemblies(BaseCustomTool customTool, bool isInclusive)
        {
            Project project = customTool.GetProject();

            return(GetReferencedAssemblies(project, isInclusive));
        }
コード例 #3
0
 public Assembly[] GetReferencedAssemblies(BaseCustomTool customTool, bool isInclusive)
 {
     Project project = customTool.GetProject();
     return GetReferencedAssemblies(project, isInclusive);
 }