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

Side by Side Diff: experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Automation/OANullProperty.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 unified diff | Download patch
OLDNEW
(Empty)
1 /// Copyright (c) Microsoft Corporation. All rights reserved.
2
3 using System;
4 using System.Runtime.InteropServices;
5
6 namespace Microsoft.VisualStudio.Project.Automation
7 {
8 /// <summary>
9 /// This object defines a so called null object that is returned as inst ead of null. This is because callers in VSCore usually crash if a null propery i s returned for them.
10 /// </summary>
11 [CLSCompliant(false), ComVisible(true)]
12 public class OANullProperty : EnvDTE.Property
13 {
14 #region fields
15 private OAProperties parent;
16 #endregion
17
18 #region ctors
19
20 public OANullProperty(OAProperties parent)
21 {
22 this.parent = parent;
23 }
24 #endregion
25
26 #region EnvDTE.Property
27
28 public object Application
29 {
30 get { return String.Empty; }
31 }
32
33 public EnvDTE.Properties Collection
34 {
35 get
36 {
37 //todo: EnvDTE.Property.Collection
38 return this.parent;
39 }
40 }
41
42 public EnvDTE.DTE DTE
43 {
44 get { return null; }
45 }
46
47 public object get_IndexedValue(object index1, object index2, obj ect index3, object index4)
48 {
49 return String.Empty;
50 }
51
52 public void let_Value(object value)
53 {
54 //todo: let_Value
55 }
56
57 public string Name
58 {
59 get { return String.Empty; }
60 }
61
62 public short NumIndices
63 {
64 get { return 0; }
65 }
66
67 public object Object
68 {
69 get { return this.parent.Target; }
70 set
71 {
72 }
73 }
74
75 public EnvDTE.Properties Parent
76 {
77 get { return this.parent; }
78 }
79
80 public void set_IndexedValue(object index1, object index2, objec t index3, object index4, object value)
81 {
82
83 }
84
85 public object Value
86 {
87 get { return String.Empty; }
88 set { }
89 }
90 #endregion
91 }
92 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698