Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@729 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
6 changed files with 159 additions and 36 deletions
@ -0,0 +1,31 @@
@@ -0,0 +1,31 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt">2002-2005 AlphaSierraPapa</copyright>
|
||||
// <license see="prj:///doc/license.txt">GNU General Public License</license>
|
||||
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
|
||||
namespace Debugger |
||||
{ |
||||
[Serializable] |
||||
public class VariableEventArgs : DebuggerEventArgs |
||||
{ |
||||
Variable variable; |
||||
|
||||
public Variable Variable { |
||||
get { |
||||
return variable; |
||||
} |
||||
set { |
||||
variable = value; |
||||
} |
||||
} |
||||
|
||||
public VariableEventArgs(NDebugger debugger, Variable variable): base(debugger) |
||||
{ |
||||
this.variable = variable; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,38 @@
@@ -0,0 +1,38 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt">2002-2005 AlphaSierraPapa</copyright>
|
||||
// <license see="prj:///doc/license.txt">GNU General Public License</license>
|
||||
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
|
||||
namespace Debugger |
||||
{ |
||||
/// <summary>
|
||||
/// This value may be returned by Variable.Value instead of null to provide some additional information.
|
||||
/// </summary>
|
||||
public class VariableMagicValue |
||||
{ |
||||
object @value; |
||||
|
||||
public object Value { |
||||
get { |
||||
return @value; |
||||
} |
||||
set { |
||||
this.@value = value; |
||||
} |
||||
} |
||||
|
||||
public VariableMagicValue(object @value) |
||||
{ |
||||
this.@value = @value; |
||||
} |
||||
|
||||
public override string ToString() |
||||
{ |
||||
return @value.ToString(); |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue