public ProjectItemAction(string projectItemPath, ProjectItemOperation operations, bool enabled, string sourceFilePath) { this.ProjectItemPath = projectItemPath; this.SourceFilePath = sourceFilePath; this.Operation = operations; this.IsEnabled = enabled; }
internal ProjectItemStateChange(ProjectItem item, ProjectItemOperation operation) { this.Operation = operation; if (this.Operation == ProjectItemOperation.CreateFromTemplate) { this.ProjectItem = ProjectItem.Empty; this.Template = item; this.Project = Project.Empty; } else if (this.Operation == ProjectItemOperation.UpdateProcessChanges) { this.ProjectItem = item; this.Template = item.GetTemplate(); this.Project = item.Project; } else { this.ProjectItem = item; this.Template = ProjectItem.Empty; this.Project = item.Project; } }
internal WhatIfResult(ProjectItem source, ProjectItemOperation sourceOperation) { this.Source = source; this.SourceOperation = sourceOperation; }