|
|
|
|
@ -8,7 +8,6 @@ namespace ICSharpCode.PackageManagement.EnvDTE
@@ -8,7 +8,6 @@ namespace ICSharpCode.PackageManagement.EnvDTE
|
|
|
|
|
{ |
|
|
|
|
public class CodeProperty : CodeElement |
|
|
|
|
{ |
|
|
|
|
IProperty property; |
|
|
|
|
CodeElements attributes; |
|
|
|
|
|
|
|
|
|
public CodeProperty() |
|
|
|
|
@ -18,22 +17,24 @@ namespace ICSharpCode.PackageManagement.EnvDTE
@@ -18,22 +17,24 @@ namespace ICSharpCode.PackageManagement.EnvDTE
|
|
|
|
|
public CodeProperty(IProperty property) |
|
|
|
|
: base(property) |
|
|
|
|
{ |
|
|
|
|
this.property = property; |
|
|
|
|
this.Property = property; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected IProperty Property { get; private set; } |
|
|
|
|
|
|
|
|
|
public virtual vsCMAccess Access { |
|
|
|
|
get { return GetAccess(); } |
|
|
|
|
set { } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public virtual CodeClass Parent { |
|
|
|
|
get { return new CodeClass(property.ProjectContent, property.DeclaringType); } |
|
|
|
|
get { return new CodeClass(Property.ProjectContent, Property.DeclaringType); } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public virtual CodeElements Attributes { |
|
|
|
|
get { |
|
|
|
|
if (attributes == null) { |
|
|
|
|
attributes = new CodeAttributes(property); |
|
|
|
|
attributes = new CodeAttributes(Property); |
|
|
|
|
} |
|
|
|
|
return attributes; |
|
|
|
|
} |
|
|
|
|
|