示例#1
0
 /// <summary>Initializes a new instance of the RazorGenerateWithTargetPath class.</summary>
 internal RazorGenerateWithTargetPath(Microsoft.VisualStudio.ProjectSystem.Properties.IRule rule, Microsoft.VisualStudio.ProjectSystem.ConfiguredProject configuredProject) :
     this(rule)
 {
     if ((rule is null))
     {
         throw new System.ArgumentNullException("rule");
     }
     if ((configuredProject is null))
     {
         throw new System.ArgumentNullException("configuredProject");
     }
     this.configuredProject = configuredProject;
     this.rule     = rule;
     this.file     = this.rule.File;
     this.itemType = this.rule.ItemType;
     this.itemName = this.rule.ItemName;
 }
示例#2
0
 /// <summary>Initializes a new instance of the RazorGenerateWithTargetPath class that assumes a project context (neither property sheet nor items).</summary>
 internal RazorGenerateWithTargetPath(Microsoft.VisualStudio.ProjectSystem.ConfiguredProject configuredProject, System.Collections.Immutable.IImmutableDictionary <string, Microsoft.VisualStudio.ProjectSystem.Properties.IPropertyPagesCatalog> catalogs) :
     this(configuredProject, catalogs, "Project", null, null, null)
 {
 }
示例#3
0
 /// <summary>Initializes a new instance of the MyCustomPropertyPage class.</summary>
 internal MyCustomPropertyPage(Microsoft.VisualStudio.ProjectSystem.ConfiguredProject configuredProject, System.Collections.Immutable.IImmutableDictionary <string, Microsoft.VisualStudio.ProjectSystem.Properties.IPropertyPagesCatalog> catalogs, string context, Microsoft.VisualStudio.ProjectSystem.Properties.IProjectPropertiesContext propertyContext) :
     this(configuredProject, catalogs, context, GetContextFile(propertyContext), propertyContext.ItemType, propertyContext.ItemName)
 {
 }
示例#4
0
 /// <summary>Initializes a new instance of the MyCustomPropertyPage class that assumes a project context (neither property sheet nor items).</summary>
 internal MyCustomPropertyPage(Microsoft.VisualStudio.ProjectSystem.ConfiguredProject configuredProject, System.Collections.Immutable.IImmutableDictionary <string, Microsoft.VisualStudio.ProjectSystem.Properties.IPropertyPagesCatalog> catalogs) :
     this(configuredProject, catalogs, "Project", null, null, null)
 {
 }
示例#5
0
 /// <summary>Initializes a new instance of the MyCustomPropertyPage class.</summary>
 internal MyCustomPropertyPage(Microsoft.VisualStudio.ProjectSystem.Properties.IRule rule, Microsoft.VisualStudio.ProjectSystem.ConfiguredProject configuredProject) :
     this(rule) {
     if ((rule == null))
     {
         throw new System.ArgumentNullException("rule");
     }
     if ((configuredProject == null))
     {
         throw new System.ArgumentNullException("configuredProject");
     }
     this.configuredProject = configuredProject;
     this.rule     = rule;
     this.file     = this.rule.File;
     this.itemType = this.rule.ItemType;
     this.itemName = this.rule.ItemName;
 }