Browse Source

Fix a couple of compiler warnings.

newNRvisualizers
Daniel Grunwald 13 years ago
parent
commit
6950976e53
  1. 2
      src/AddIns/Debugger/Debugger.AddIn/Pads/CallStackPad.cs
  2. 2
      src/AddIns/Debugger/Debugger.AddIn/Pads/WatchPad.cs
  3. 2
      src/Main/Base/Project/Src/Commands/MenuItemBuilders.cs
  4. 6
      src/Main/Base/Project/Src/Gui/Components/StringListEditor.cs
  5. 1
      src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/AbstractBuildOptions.cs
  6. 1
      src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/AbstractXmlFormsProjectOptionPanel.cs
  7. 1
      src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/XmlFormsOptionPanel.cs
  8. 2
      src/Main/Base/Project/Src/Gui/FileService.cs
  9. 2
      src/Main/Base/Project/Src/Gui/Pads/CompilerMessageView/CompilerMessageView.cs
  10. 2
      src/Main/Base/Project/Src/Gui/Pads/ErrorList/ErrorListPad.cs
  11. 3
      src/Main/Base/Project/Src/Gui/Pads/TaskList/TaskListPadCommands.cs
  12. 1
      src/Main/Base/Project/Src/Gui/XmlForms/BaseSharpDevelopForm.cs
  13. 1
      src/Main/Base/Project/Src/Gui/XmlForms/BaseSharpDevelopUserControl.cs
  14. 1
      src/Main/Base/Project/Src/Gui/XmlForms/Lib/DefaultObjectCreator.cs
  15. 1
      src/Main/Base/Project/Src/Gui/XmlForms/Lib/IObjectCreator.cs
  16. 1
      src/Main/Base/Project/Src/Gui/XmlForms/Lib/IPropertyValueCreator.cs
  17. 1
      src/Main/Base/Project/Src/Gui/XmlForms/Lib/IStringValueFilter.cs
  18. 1
      src/Main/Base/Project/Src/Gui/XmlForms/Lib/StringWrapper.cs
  19. 1
      src/Main/Base/Project/Src/Gui/XmlForms/Lib/XmlForm.cs
  20. 1
      src/Main/Base/Project/Src/Gui/XmlForms/Lib/XmlLoader.cs
  21. 1
      src/Main/Base/Project/Src/Gui/XmlForms/Lib/XmlUserControl.cs
  22. 1
      src/Main/Base/Project/Src/Gui/XmlForms/SharpDevelopPropertyValueCreator.cs
  23. 1
      src/Main/Base/Project/Src/Gui/XmlForms/SharpDevelopStringValueFilter.cs
  24. 2
      src/Main/Base/Project/Src/Project/BeforeBuildCustomToolRunner.cs
  25. 1
      src/Main/Base/Project/Src/Project/ConfigurationGuiBinding.cs
  26. 18
      src/Main/Base/Project/Src/Services/ClassBrowserIcons/ClassBrowserIconService.cs
  27. 21
      src/Main/Base/Project/Src/Services/Debugger/BreakpointBookmark.cs
  28. 6
      src/Main/Base/Project/Src/Services/ProjectService/ProjectService.cs

2
src/AddIns/Debugger/Debugger.AddIn/Pads/CallStackPad.cs

@ -143,7 +143,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
previousItemIsExternalMethod = false; previousItemIsExternalMethod = false;
return new CallStackItem() { return new CallStackItem() {
Frame = frame, Frame = frame,
ImageSource = new ResourceServiceImage("Icons.16x16.Method").ImageSource, ImageSource = SD.ResourceService.GetImageSource("Icons.16x16.Method"),
Name = GetFullName(frame) Name = GetFullName(frame)
}; };
} else { } else {

2
src/AddIns/Debugger/Debugger.AddIn/Pads/WatchPad.cs

@ -91,7 +91,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
try { try {
node = new ValueNode(null, name, () => WindowsDebugger.Evaluate(name)); node = new ValueNode(null, name, () => WindowsDebugger.Evaluate(name));
} catch (GetValueException e) { } catch (GetValueException e) {
node = new TreeNode(new ResourceServiceImage("Icons.16x16.Error"), name, e.Message, string.Empty, null); node = new TreeNode(SD.ResourceService.GetImage("Icons.16x16.Error"), name, e.Message, string.Empty, null);
} }
node.CanDelete = true; node.CanDelete = true;
node.CanSetName = true; node.CanSetName = true;

2
src/Main/Base/Project/Src/Commands/MenuItemBuilders.cs

@ -459,7 +459,7 @@ namespace ICSharpCode.SharpDevelop.Commands
var item = new System.Windows.Controls.MenuItem(); var item = new System.Windows.Controls.MenuItem();
item.Header = ICSharpCode.Core.Presentation.MenuService.ConvertLabel(StringParser.Parse(padContent.Title)); item.Header = ICSharpCode.Core.Presentation.MenuService.ConvertLabel(StringParser.Parse(padContent.Title));
if (!string.IsNullOrEmpty(padContent.Icon)) { if (!string.IsNullOrEmpty(padContent.Icon)) {
item.Icon = PresentationResourceService.GetImage(padContent.Icon); item.Icon = SD.ResourceService.GetImage(padContent.Icon).CreateImage();
} }
item.Command = new BringPadToFrontCommand(padContent); item.Command = new BringPadToFrontCommand(padContent);
if (!string.IsNullOrEmpty(padContent.Shortcut)) { if (!string.IsNullOrEmpty(padContent.Shortcut)) {

6
src/Main/Base/Project/Src/Gui/Components/StringListEditor.cs

@ -279,9 +279,8 @@ namespace ICSharpCode.SharpDevelop.Gui
void BrowseButtonClick(object sender, EventArgs e) void BrowseButtonClick(object sender, EventArgs e)
{ {
using (FolderBrowserDialog fdiag = FileService.CreateFolderBrowserDialog("${res:Dialog.ProjectOptions.SelectFolderTitle}")) { string path = SD.FileService.BrowseForFolder("${res:Dialog.ProjectOptions.SelectFolderTitle}");
if (fdiag.ShowDialog() == DialogResult.OK) { if (path != null) {
string path = fdiag.SelectedPath;
if (!path.EndsWith("\\") && !path.EndsWith("/")) if (!path.EndsWith("\\") && !path.EndsWith("/"))
path += "\\"; path += "\\";
editTextBox.Text = path; editTextBox.Text = path;
@ -290,7 +289,6 @@ namespace ICSharpCode.SharpDevelop.Gui
} }
} }
} }
}
void AddButtonClick(object sender, EventArgs e) void AddButtonClick(object sender, EventArgs e)
{ {

1
src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/AbstractBuildOptions.cs

@ -13,6 +13,7 @@ using StringPair = System.Collections.Generic.KeyValuePair<string, string>;
namespace ICSharpCode.SharpDevelop.Gui.OptionPanels namespace ICSharpCode.SharpDevelop.Gui.OptionPanels
{ {
[Obsolete("XML Forms are obsolete")]
public class AbstractBuildOptions : AbstractXmlFormsProjectOptionPanel public class AbstractBuildOptions : AbstractXmlFormsProjectOptionPanel
{ {
protected void InitBaseIntermediateOutputPath() protected void InitBaseIntermediateOutputPath()

1
src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/AbstractXmlFormsProjectOptionPanel.cs

@ -10,6 +10,7 @@ namespace ICSharpCode.SharpDevelop.Gui.OptionPanels
/// <summary> /// <summary>
/// Base class for project option panels that are using the <see cref="ConfigurationGuiHelper"/>. /// Base class for project option panels that are using the <see cref="ConfigurationGuiHelper"/>.
/// </summary> /// </summary>
[Obsolete("XML Forms are obsolete")]
public abstract class AbstractXmlFormsProjectOptionPanel : XmlFormsOptionPanel, ICanBeDirty public abstract class AbstractXmlFormsProjectOptionPanel : XmlFormsOptionPanel, ICanBeDirty
{ {
protected ConfigurationGuiHelper helper; protected ConfigurationGuiHelper helper;

1
src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/XmlFormsOptionPanel.cs

@ -10,6 +10,7 @@ using ICSharpCode.SharpDevelop.Project;
namespace ICSharpCode.SharpDevelop.Gui.OptionPanels namespace ICSharpCode.SharpDevelop.Gui.OptionPanels
{ {
[Obsolete("XML Forms are obsolete")]
public class XmlFormsOptionPanel : BaseSharpDevelopUserControl, IOptionPanel public class XmlFormsOptionPanel : BaseSharpDevelopUserControl, IOptionPanel
{ {
public object Owner { get; set; } public object Owner { get; set; }

2
src/Main/Base/Project/Src/Gui/FileService.cs

@ -144,7 +144,7 @@ namespace ICSharpCode.SharpDevelop
/// behaviour of the FolderBrowserDialog is used where it selects the /// behaviour of the FolderBrowserDialog is used where it selects the
/// desktop folder. /// desktop folder.
/// </summary> /// </summary>
[Obsolete("Use SD.FileService.BrowseForFolder instead.")] [Obsolete("Use SD.FileService.BrowseForFolder() instead.")]
public static FolderBrowserDialog CreateFolderBrowserDialog(string description, string selectedPath = null) public static FolderBrowserDialog CreateFolderBrowserDialog(string description, string selectedPath = null)
{ {
FolderBrowserDialog dialog = new FolderBrowserDialog(); FolderBrowserDialog dialog = new FolderBrowserDialog();

2
src/Main/Base/Project/Src/Gui/Pads/CompilerMessageView/CompilerMessageView.cs

@ -152,7 +152,7 @@ namespace ICSharpCode.SharpDevelop.Gui
void DisplayActiveCategory() void DisplayActiveCategory()
{ {
WorkbenchSingleton.DebugAssertMainThread(); SD.MainThread.VerifyAccess();
if (selectedCategory < 0) { if (selectedCategory < 0) {
textEditor.Text = ""; textEditor.Text = "";
} else { } else {

2
src/Main/Base/Project/Src/Gui/Pads/ErrorList/ErrorListPad.cs

@ -88,7 +88,7 @@ namespace ICSharpCode.SharpDevelop.Gui
InternalShowResults(); InternalShowResults();
}; };
ProjectService.BuildFinished += ProjectServiceEndBuild; SD.BuildService.BuildFinished += ProjectServiceEndBuild;
ProjectService.SolutionLoaded += OnSolutionOpen; ProjectService.SolutionLoaded += OnSolutionOpen;
ProjectService.SolutionClosed += OnSolutionClosed; ProjectService.SolutionClosed += OnSolutionClosed;

3
src/Main/Base/Project/Src/Gui/Pads/TaskList/TaskListPadCommands.cs

@ -2,15 +2,12 @@
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System; using System;
using System.Collections.Generic;
using System.Windows.Forms; using System.Windows.Forms;
using ICSharpCode.Core;
namespace ICSharpCode.SharpDevelop.Gui namespace ICSharpCode.SharpDevelop.Gui
{ {
public class SelectScopeComboBox : ToolStripComboBox public class SelectScopeComboBox : ToolStripComboBox
{ {
private ComboBox comboBox;
private static string[] viewTypes = new string[] {"Solution", "Project", "All open documents", "Document", "Namespace", "Class/Module"}; private static string[] viewTypes = new string[] {"Solution", "Project", "All open documents", "Document", "Namespace", "Class/Module"};
public SelectScopeComboBox() public SelectScopeComboBox()

1
src/Main/Base/Project/Src/Gui/XmlForms/BaseSharpDevelopForm.cs

@ -7,6 +7,7 @@ using ICSharpCode.Core;
namespace ICSharpCode.SharpDevelop.Gui.XmlForms namespace ICSharpCode.SharpDevelop.Gui.XmlForms
{ {
[Obsolete("XML Forms are obsolete")]
public abstract class BaseSharpDevelopForm : XmlForm public abstract class BaseSharpDevelopForm : XmlForm
{ {
// public BaseSharpDevelopForm(string fileName) : base(fileName) // public BaseSharpDevelopForm(string fileName) : base(fileName)

1
src/Main/Base/Project/Src/Gui/XmlForms/BaseSharpDevelopUserControl.cs

@ -8,6 +8,7 @@ using ICSharpCode.Core;
namespace ICSharpCode.SharpDevelop.Gui.XmlForms namespace ICSharpCode.SharpDevelop.Gui.XmlForms
{ {
[Obsolete("XML Forms are obsolete")]
public abstract class BaseSharpDevelopUserControl : XmlUserControl public abstract class BaseSharpDevelopUserControl : XmlUserControl
{ {
// public BaseSharpDevelopUserControl(string fileName) : base(fileName) // public BaseSharpDevelopUserControl(string fileName) : base(fileName)

1
src/Main/Base/Project/Src/Gui/XmlForms/Lib/DefaultObjectCreator.cs

@ -12,6 +12,7 @@ namespace ICSharpCode.SharpDevelop.Gui.XmlForms
/// <summary> /// <summary>
/// Default implementation of the IObjectCreator interface. /// Default implementation of the IObjectCreator interface.
/// </summary> /// </summary>
[Obsolete("XML Forms are obsolete")]
public class DefaultObjectCreator : IObjectCreator public class DefaultObjectCreator : IObjectCreator
{ {
public virtual Type GetType(string name) public virtual Type GetType(string name)

1
src/Main/Base/Project/Src/Gui/XmlForms/Lib/IObjectCreator.cs

@ -10,6 +10,7 @@ namespace ICSharpCode.SharpDevelop.Gui.XmlForms
/// This interface is used to create the objects which are given by name in /// This interface is used to create the objects which are given by name in
/// the xml definition. /// the xml definition.
/// </summary> /// </summary>
[Obsolete("XML Forms are obsolete")]
public interface IObjectCreator public interface IObjectCreator
{ {
/// <summary> /// <summary>

1
src/Main/Base/Project/Src/Gui/XmlForms/Lib/IPropertyValueCreator.cs

@ -5,6 +5,7 @@ using System;
namespace ICSharpCode.SharpDevelop.Gui.XmlForms namespace ICSharpCode.SharpDevelop.Gui.XmlForms
{ {
[Obsolete("XML Forms are obsolete")]
public interface IPropertyValueCreator public interface IPropertyValueCreator
{ {
bool CanCreateValueForType(Type propertyType); bool CanCreateValueForType(Type propertyType);

1
src/Main/Base/Project/Src/Gui/XmlForms/Lib/IStringValueFilter.cs

@ -9,6 +9,7 @@ namespace ICSharpCode.SharpDevelop.Gui.XmlForms
/// This interface is used to filter the values defined in the xml files. /// This interface is used to filter the values defined in the xml files.
/// It could be used for the localization of control texts. /// It could be used for the localization of control texts.
/// </summary> /// </summary>
[Obsolete("XML Forms are obsolete")]
public interface IStringValueFilter public interface IStringValueFilter
{ {
/// <summary> /// <summary>

1
src/Main/Base/Project/Src/Gui/XmlForms/Lib/StringWrapper.cs

@ -10,6 +10,7 @@ namespace ICSharpCode.SharpDevelop.Gui.XmlForms
/// through the 'Text' property. This class was written for setting the /// through the 'Text' property. This class was written for setting the
/// items in a combobox inside a xml definition. /// items in a combobox inside a xml definition.
/// </summary> /// </summary>
[Obsolete("XML Forms are obsolete")]
public class StringWrapper public class StringWrapper
{ {
string text; string text;

1
src/Main/Base/Project/Src/Gui/XmlForms/Lib/XmlForm.cs

@ -13,6 +13,7 @@ namespace ICSharpCode.SharpDevelop.Gui.XmlForms
/// <summary> /// <summary>
/// The basic xml generated form. /// The basic xml generated form.
/// </summary> /// </summary>
[Obsolete("XML Forms are obsolete")]
public abstract class XmlForm : Form public abstract class XmlForm : Form
{ {
protected XmlLoader xmlLoader; protected XmlLoader xmlLoader;

1
src/Main/Base/Project/Src/Gui/XmlForms/Lib/XmlLoader.cs

@ -17,6 +17,7 @@ namespace ICSharpCode.SharpDevelop.Gui.XmlForms
/// <summary> /// <summary>
/// This class is able to generate a GUI definition out of a XML file. /// This class is able to generate a GUI definition out of a XML file.
/// </summary> /// </summary>
[Obsolete("XML Forms are obsolete")]
public class XmlLoader public class XmlLoader
{ {
Dictionary<string, Control> controlDictionary = new Dictionary<string, Control>(); Dictionary<string, Control> controlDictionary = new Dictionary<string, Control>();

1
src/Main/Base/Project/Src/Gui/XmlForms/Lib/XmlUserControl.cs

@ -12,6 +12,7 @@ namespace ICSharpCode.SharpDevelop.Gui.XmlForms
/// <summary> /// <summary>
/// The basic xml generated user control. /// The basic xml generated user control.
/// </summary> /// </summary>
[Obsolete("XML Forms are obsolete")]
public abstract class XmlUserControl : UserControl public abstract class XmlUserControl : UserControl
{ {
protected XmlLoader xmlLoader; protected XmlLoader xmlLoader;

1
src/Main/Base/Project/Src/Gui/XmlForms/SharpDevelopPropertyValueCreator.cs

@ -7,6 +7,7 @@ using ICSharpCode.SharpDevelop.WinForms;
namespace ICSharpCode.SharpDevelop.Gui.XmlForms namespace ICSharpCode.SharpDevelop.Gui.XmlForms
{ {
[Obsolete("XML Forms are obsolete")]
public class SharpDevelopPropertyValueCreator : IPropertyValueCreator public class SharpDevelopPropertyValueCreator : IPropertyValueCreator
{ {
public bool CanCreateValueForType(Type propertyType) public bool CanCreateValueForType(Type propertyType)

1
src/Main/Base/Project/Src/Gui/XmlForms/SharpDevelopStringValueFilter.cs

@ -10,6 +10,7 @@ namespace ICSharpCode.SharpDevelop.Gui.XmlForms
/// This interface is used to filter the values defined in the xml files. /// This interface is used to filter the values defined in the xml files.
/// It could be used for the localization of control texts. /// It could be used for the localization of control texts.
/// </summary> /// </summary>
[Obsolete("XML Forms are obsolete")]
public class SharpDevelopStringValueFilter : IStringValueFilter public class SharpDevelopStringValueFilter : IStringValueFilter
{ {
/// <summary> /// <summary>

2
src/Main/Base/Project/Src/Project/BeforeBuildCustomToolRunner.cs

@ -11,7 +11,7 @@ namespace ICSharpCode.SharpDevelop.Project
{ {
public BeforeBuildCustomToolRunner() public BeforeBuildCustomToolRunner()
{ {
ProjectService.BuildStarted += ProjectBuildStarted; SD.BuildService.BuildStarted += ProjectBuildStarted;
} }
void ProjectBuildStarted(object sender, BuildEventArgs e) void ProjectBuildStarted(object sender, BuildEventArgs e)

1
src/Main/Base/Project/Src/Project/ConfigurationGuiBinding.cs

@ -7,6 +7,7 @@ using System.Windows.Forms;
namespace ICSharpCode.SharpDevelop.Project namespace ICSharpCode.SharpDevelop.Project
{ {
[Obsolete("XML Forms are obsolete")]
public abstract class ConfigurationGuiBinding public abstract class ConfigurationGuiBinding
{ {
ConfigurationGuiHelper helper; ConfigurationGuiHelper helper;

18
src/Main/Base/Project/Src/Services/ClassBrowserIcons/ClassBrowserIconService.cs

@ -68,15 +68,15 @@ namespace ICSharpCode.SharpDevelop
} }
#endregion #endregion
public static readonly IImage Namespace = GetIImage(CompletionImage.NamespaceImage); public static IImage Namespace { get { return GetIImage(CompletionImage.NamespaceImage); } }
public static readonly IImage Solution = new ResourceServiceImage("Icons.16x16.CombineIcon"); public static IImage Solution { get { return SD.ResourceService.GetImage("Icons.16x16.CombineIcon"); } }
public static readonly IImage Const = GetIImage(CompletionImage.Literal.BaseImage); public static IImage Const { get { return GetIImage(CompletionImage.Literal.BaseImage); } }
public static readonly IImage GotoArrow = new ResourceServiceImage("Icons.16x16.SelectionArrow"); public static IImage GotoArrow { get { return SD.ResourceService.GetImage("Icons.16x16.SelectionArrow"); } }
public static readonly IImage LocalVariable = new ResourceServiceImage("Icons.16x16.Local"); public static IImage LocalVariable { get { return SD.ResourceService.GetImage("Icons.16x16.Local"); } }
public static readonly IImage Parameter = new ResourceServiceImage("Icons.16x16.Parameter"); public static IImage Parameter { get { return SD.ResourceService.GetImage("Icons.16x16.Parameter"); } }
public static readonly IImage Keyword = new ResourceServiceImage("Icons.16x16.Keyword"); public static IImage Keyword { get { return SD.ResourceService.GetImage("Icons.16x16.Keyword"); } }
public static readonly IImage Operator = new ResourceServiceImage("Icons.16x16.Operator"); public static IImage Operator { get { return SD.ResourceService.GetImage("Icons.16x16.Operator"); } }
public static readonly IImage CodeTemplate = new ResourceServiceImage("Icons.16x16.TextFileIcon"); public static IImage CodeTemplate { get { return SD.ResourceService.GetImage("Icons.16x16.TextFileIcon"); } }
} }
} }

21
src/Main/Base/Project/Src/Services/Debugger/BreakpointBookmark.cs

@ -11,7 +11,6 @@ using ICSharpCode.NRefactory;
using ICSharpCode.NRefactory.Editor; using ICSharpCode.NRefactory.Editor;
using ICSharpCode.SharpDevelop.Editor.Bookmarks; using ICSharpCode.SharpDevelop.Editor.Bookmarks;
using ICSharpCode.SharpDevelop.Editor; using ICSharpCode.SharpDevelop.Editor;
using ICSharpCode.SharpDevelop.Editor.Bookmarks;
namespace ICSharpCode.SharpDevelop.Debugging namespace ICSharpCode.SharpDevelop.Debugging
{ {
@ -120,11 +119,21 @@ namespace ICSharpCode.SharpDevelop.Debugging
public static readonly Color DefaultBackground = Color.FromRgb(180, 38, 38); public static readonly Color DefaultBackground = Color.FromRgb(180, 38, 38);
public static readonly Color DefaultForeground = Colors.White; public static readonly Color DefaultForeground = Colors.White;
public static readonly IImage BreakpointImage = new ResourceServiceImage("Bookmarks.Breakpoint"); public static IImage BreakpointImage {
public static readonly IImage BreakpointConditionalImage = new ResourceServiceImage("Bookmarks.BreakpointConditional"); get { return SD.ResourceService.GetImage("Bookmarks.Breakpoint"); }
public static readonly IImage DisabledBreakpointImage = new ResourceServiceImage("Bookmarks.DisabledBreakpoint"); }
public static readonly IImage UnhealthyBreakpointImage = new ResourceServiceImage("Bookmarks.UnhealthyBreakpoint"); public static IImage BreakpointConditionalImage {
public static readonly IImage UnhealthyBreakpointConditionalImage = new ResourceServiceImage("Bookmarks.UnhealthyBreakpointConditional"); get { return SD.ResourceService.GetImage("Bookmarks.BreakpointConditional"); }
}
public static IImage DisabledBreakpointImage {
get { return SD.ResourceService.GetImage("Bookmarks.DisabledBreakpoint"); }
}
public static IImage UnhealthyBreakpointImage {
get { return SD.ResourceService.GetImage("Bookmarks.UnhealthyBreakpoint"); }
}
public static IImage UnhealthyBreakpointConditionalImage {
get { return SD.ResourceService.GetImage("Bookmarks.UnhealthyBreakpointConditional"); }
}
public override IImage Image { public override IImage Image {
get { get {

6
src/Main/Base/Project/Src/Services/ProjectService/ProjectService.cs

@ -709,12 +709,12 @@ namespace ICSharpCode.SharpDevelop.Project
/// </summary> /// </summary>
public static event SolutionFolderEventHandler SolutionFolderRemoved; public static event SolutionFolderEventHandler SolutionFolderRemoved;
[Obsolete] [Obsolete("Use SD.BuildService.BuildStarted instead")]
public static event EventHandler<BuildEventArgs> BuildStarted { public static event EventHandler<BuildEventArgs> BuildStarted {
add { SD.BuildService.BuildStarted += value; } add { SD.BuildService.BuildStarted += value; }
remove { SD.BuildService.BuildFinished -= value; } remove { SD.BuildService.BuildStarted -= value; }
} }
[Obsolete] [Obsolete("Use SD.BuildService.BuildFinished instead")]
public static event EventHandler<BuildEventArgs> BuildFinished { public static event EventHandler<BuildEventArgs> BuildFinished {
add { SD.BuildService.BuildFinished += value; } add { SD.BuildService.BuildFinished += value; }
remove { SD.BuildService.BuildFinished -= value; } remove { SD.BuildService.BuildFinished -= value; }

Loading…
Cancel
Save