OLD | NEW |
| (Empty) |
1 using System; | |
2 using System.Collections.Generic; | |
3 using System.Linq; | |
4 using System.Text; | |
5 using Microsoft.VisualStudio; | |
6 using Microsoft.VisualStudio.Debugger.Interop; | |
7 | |
8 namespace Google.MsAd7.BaseImpl | |
9 { | |
10 class SimpleExpression : IDebugExpression2 | |
11 { | |
12 public SimpleExpression(DebugPropertyBase property) { | |
13 property_ = property; | |
14 } | |
15 | |
16 public DebugPropertyBase Property { | |
17 get { return property_; } | |
18 } | |
19 | |
20 #region Implementation of IDebugExpression2 | |
21 | |
22 public int EvaluateAsync(enum_EVALFLAGS dwFlags, IDebugEventCallback2 pExprC
allback) { | |
23 throw new NotImplementedException(); | |
24 } | |
25 | |
26 public int Abort() { | |
27 throw new NotImplementedException(); | |
28 } | |
29 | |
30 public int EvaluateSync(enum_EVALFLAGS dwFlags, uint dwTimeout, IDebugEventC
allback2 pExprCallback, out IDebugProperty2 ppResult) { | |
31 ppResult = property_; | |
32 return VSConstants.S_OK; | |
33 } | |
34 | |
35 #endregion | |
36 | |
37 private DebugPropertyBase property_; | |
38 } | |
39 } | |
OLD | NEW |