OLD | NEW |
| (Empty) |
1 // Copyright 2009 The Native Client Authors. All rights reserved. | |
2 // | |
3 // Use of this source code is governed by a BSD-style license that can | |
4 // | |
5 // be found in the LICENSE file. | |
6 using Microsoft.VisualStudio; | |
7 using Microsoft.VisualStudio.Debugger.Interop; | |
8 | |
9 namespace Google.MsAd7.BaseImpl { | |
10 public class PortRequest : IDebugPortRequest2 { | |
11 public PortRequest(string name) { | |
12 name_ = name; | |
13 } | |
14 | |
15 public string Name { | |
16 get { return name_; } | |
17 set { name_ = value; } | |
18 } | |
19 | |
20 #region Private Implementation | |
21 | |
22 private string name_; | |
23 | |
24 #endregion | |
25 | |
26 #region Implementation of IDebugPortRequest2 | |
27 | |
28 public int GetPortName(out string pbstrPortName) { | |
29 pbstrPortName = name_; | |
30 return VSConstants.S_OK; | |
31 } | |
32 | |
33 #endregion | |
34 } | |
35 } | |
OLD | NEW |