Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Unified Diff: obsolete/Microsoft.VisualStudio.Project/BuildPropertyPage.cs

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: obsolete/Microsoft.VisualStudio.Project/BuildPropertyPage.cs
diff --git a/obsolete/Microsoft.VisualStudio.Project/BuildPropertyPage.cs b/obsolete/Microsoft.VisualStudio.Project/BuildPropertyPage.cs
deleted file mode 100644
index 6830eff4925a2a8db95a2fb23c7f895051c1e916..0000000000000000000000000000000000000000
--- a/obsolete/Microsoft.VisualStudio.Project/BuildPropertyPage.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-/// Copyright (c) Microsoft Corporation. All rights reserved.
-
-using System;
-using System.Diagnostics;
-using System.Globalization;
-using System.Runtime.InteropServices;
-using Microsoft.VisualStudio;
-
-namespace Microsoft.VisualStudio.Project
-{
- /// <summary>
- /// Enumerated list of the properties shown on the build property page
- /// </summary>
- internal enum BuildPropertyPageTag
- {
- OutputPath
- }
-
- /// <summary>
- /// Defines the properties on the build property page and the logic the binds the properties to project data (load and save)
- /// </summary>
- [CLSCompliant(false), ComVisible(true), Guid("9B3DEA40-7F29-4a17-87A4-00EE08E8241E")]
- public class BuildPropertyPage : SettingsPage
- {
- #region fields
- private string outputPath;
-
- public BuildPropertyPage()
- {
- this.Name = SR.GetString(SR.BuildCaption, CultureInfo.CurrentUICulture);
- }
- #endregion
-
- #region properties
- [SRCategoryAttribute(SR.BuildCaption)]
- [LocDisplayName(SR.OutputPath)]
- [SRDescriptionAttribute(SR.OutputPathDescription)]
- public string OutputPath
- {
- get { return this.outputPath; }
- set { this.outputPath = value; this.IsDirty = true; }
- }
- #endregion
-
- #region overridden methods
- public override string GetClassName()
- {
- return this.GetType().FullName;
- }
-
- protected override void BindProperties()
- {
- if(this.ProjectMgr == null)
- {
- Debug.Assert(false);
- return;
- }
-
- this.outputPath = this.GetConfigProperty(BuildPropertyPageTag.OutputPath.ToString());
- }
-
- protected override int ApplyChanges()
- {
- if(this.ProjectMgr == null)
- {
- Debug.Assert(false);
- return VSConstants.E_INVALIDARG;
- }
-
- this.SetConfigProperty(BuildPropertyPageTag.OutputPath.ToString(), this.outputPath);
- this.IsDirty = false;
- return VSConstants.S_OK;
- }
- #endregion
- }
-}
« no previous file with comments | « obsolete/Microsoft.VisualStudio.Project/BuildDependency.cs ('k') | obsolete/Microsoft.VisualStudio.Project/ClassDiagram1.cd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698