#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

55 lines
1.2 KiB

// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.SharpDevelop.Dom;
namespace ICSharpCode.PackageManagement.EnvDTE
{
public class CodeProperty : CodeElement
{
CodeElements attributes;
public CodeProperty()
{
}
public CodeProperty(IProperty property)
: base(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); }
}
public virtual CodeElements Attributes {
get {
if (attributes == null) {
attributes = new CodeAttributes(Property);
}
return attributes;
}
}
public virtual CodeTypeRef Type {
get { throw new NotImplementedException(); }
}
public virtual CodeFunction Getter {
get { throw new NotImplementedException(); }
}
public virtual CodeFunction Setter {
get { throw new NotImplementedException(); }
}
}
}