コード例 #1
0
        private BuildTaskInfoPopulator CreateLargeImageBuildTaskPopulator()
        {
            Dictionary <string, string> strs = new Dictionary <string, string>()
            {
                { "CopyToOutputDirectory", "PreserveNewest" }
            };
            BuildTaskInfo buildTaskInfo = new BuildTaskInfo("Content", strs);

            return(XamlProject.CreateLargeImagePopulator((this.IsControlLibrary ? StringTable.ImageScalabilityWarningSilverlightControlLibrary : StringTable.ImageScalabilityWarningSilverlightApplication), buildTaskInfo, base.Services));
        }
コード例 #2
0
 private BuildTaskInfoPopulator CreateLargeImagePopulator()
 {
     return(XamlProject.CreateLargeImagePopulator(this.IsControlLibrary ? StringTable.ImageScalabilityWarningWpfControlLibrary : StringTable.ImageScalabilityWarningWpfApplication, new BuildTaskInfo("None", (IDictionary <string, string>) new Dictionary <string, string>()
     {
         {
             "CopyToOutputDirectory",
             "PreserveNewest"
         }
     }), this.Services));
 }