Пример #1
0
 public ProjectItemWriterFactory(AssemblyDefinition thisAssembly, Mono.Collections.Generic.Collection <TypeDefinition> userDefinedTypes,
                                 FileGenerationContext fileGenContext, IFilePathsService filePathsService, string sourceExtension)
 {
     this.assembly         = thisAssembly;
     this.fileGenContext   = fileGenContext;
     this.filePathsService = filePathsService;
     this.typeToPathMap    = filePathsService.GetTypesToFilePathsMap();
     this.sourceExtension  = sourceExtension;
 }
        public ProjectItemWriterFactory(AssemblyDefinition thisAssembly, Mono.Collections.Generic.Collection<TypeDefinition> userDefinedTypes, 
			FileGenerationContext fileGenContext, IFilePathsService filePathsService, string sourceExtension)
        {
            this.assembly = thisAssembly;
            this.fileGenContext = fileGenContext;
			this.filePathsService = filePathsService;
			this.typeToPathMap = filePathsService.GetTypesToFilePathsMap();
            this.sourceExtension = sourceExtension;
        }
Пример #3
0
 public ProjectItemWriterFactory(AssemblyDefinition thisAssembly, Mono.Collections.Generic.Collection <TypeDefinition> userDefinedTypes,
                                 IProjectManager projectFileManager, IFilePathsService filePathsService, string sourceExtension, string targetDirectory)
 {
     this.assembly           = thisAssembly;
     this.projectFileManager = projectFileManager;
     this.filePathsService   = filePathsService;
     this.typeToPathMap      = filePathsService.GetTypesToFilePathsMap();
     this.sourceExtension    = sourceExtension;
     this.targetDirectory    = targetDirectory;
 }