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.
114 lines
1.9 KiB
114 lines
1.9 KiB
// <file> |
|
// <copyright see="prj:///doc/copyright.txt"/> |
|
// <license see="prj:///doc/license.txt"/> |
|
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/> |
|
// <version value="$version"/> |
|
// </file> |
|
|
|
using System; |
|
using System.Collections; |
|
using System.Collections.Generic; |
|
using System.Reflection; |
|
using ICSharpCode.Core; |
|
|
|
namespace ICSharpCode.SharpDevelop.Dom |
|
{ |
|
public interface IClass : IDecoration |
|
{ |
|
string FullyQualifiedName { |
|
get; |
|
} |
|
|
|
/// <summary> |
|
/// The default return type to use for this class. |
|
/// </summary> |
|
IReturnType DefaultReturnType { get; } |
|
|
|
/// <summary> |
|
/// The fully qualified name in the internal .NET notation (with `1 for generic types) |
|
/// </summary> |
|
string DotNetName { |
|
get; |
|
} |
|
|
|
string Name { |
|
get; |
|
} |
|
|
|
string Namespace { |
|
get; |
|
} |
|
|
|
ClassType ClassType { |
|
get; |
|
} |
|
|
|
/// <summary> |
|
/// The project content in which this class is defined. |
|
/// </summary> |
|
IProjectContent ProjectContent { |
|
get; |
|
} |
|
|
|
ICompilationUnit CompilationUnit { |
|
get; |
|
} |
|
|
|
IRegion Region { |
|
get; |
|
} |
|
|
|
List<string> BaseTypes { |
|
get; |
|
} |
|
|
|
/// <summary>Gets the class associated with the base type with the same index.</summary> |
|
IClass GetBaseClass(int index); |
|
|
|
List<IClass> InnerClasses { |
|
get; |
|
} |
|
|
|
List<IField> Fields { |
|
get; |
|
} |
|
|
|
List<IProperty> Properties { |
|
get; |
|
} |
|
|
|
List<IIndexer> Indexer { |
|
get; |
|
} |
|
|
|
List<IMethod> Methods { |
|
get; |
|
} |
|
|
|
List<IEvent> Events { |
|
get; |
|
} |
|
|
|
List<ITypeParameter> TypeParameters { |
|
get; |
|
} |
|
|
|
IEnumerable ClassInheritanceTree { |
|
get; |
|
} |
|
|
|
IClass BaseClass { |
|
get; |
|
} |
|
|
|
IClass GetInnermostClass(int caretLine, int caretColumn); |
|
|
|
List<IClass> GetAccessibleTypes(IClass callingClass); |
|
|
|
//IMember SearchMember(string memberName); |
|
|
|
bool IsTypeInInheritanceTree(IClass possibleBaseClass); |
|
|
|
List<IMember> GetAccessibleMembers(IClass callingClass, bool showStatic); |
|
} |
|
}
|
|
|