Пример #1
0
 /// <summary>
 /// Default ctor
 /// </summary>
 internal ResourceCompiler(string baseFolder, string generatedCodeFolder, string tempFolder, string packageName, string rootNamespace, string generatedCodeNamespace, string generatedCodeLanguage, string resourceTypeUsageInformationPath)
 {
     this.baseFolder = baseFolder;
     this.generatedCodeFolder = generatedCodeFolder;
     this.tempFolder = tempFolder;
     this.packageName = packageName;
     this.generatedCodeNamespace = generatedCodeNamespace;
     this.generatedCodeLanguage = generatedCodeLanguage;
     this.resourceTypeUsageInformationPath = resourceTypeUsageInformationPath;
     var nameConverter = new NameConverter(packageName, rootNamespace);
     layoutProcessor = new LayoutResourceProcessor(nameConverter);
 }
Пример #2
0
        /// <summary>
        /// Default ctor
        /// </summary>
        internal ResourceCompiler(string baseFolder, string generatedCodeFolder, string tempFolder, string packageName, string rootNamespace, string generatedCodeNamespace, string generatedCodeLanguage, string resourceTypeUsageInformationPath)
        {
            this.baseFolder                       = baseFolder;
            this.generatedCodeFolder              = generatedCodeFolder;
            this.tempFolder                       = tempFolder;
            this.packageName                      = packageName;
            this.generatedCodeNamespace           = generatedCodeNamespace;
            this.generatedCodeLanguage            = generatedCodeLanguage;
            this.resourceTypeUsageInformationPath = resourceTypeUsageInformationPath;
            var nameConverter = new NameConverter(packageName, rootNamespace);

            layoutProcessor = new LayoutResourceProcessor(nameConverter);
        }