/// <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; }
/// <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) { }
/// <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) { }
/// <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) { }
/// <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; }