Table of Contents

Class ReflectionRepository

Namespace
Alternet.Syntax.CodeCompletion
Assembly
Alternet.Syntax.Parsers.Advanced.v9.dll

Represents properties and methods to perform code completion functionality using reflection.

public class ReflectionRepository : NETRepository, INETRepository, IReflectionRepository, ICodeCompletionRepository, IDisposable
Inheritance
ReflectionRepository
Implements
Derived

Constructors

ReflectionRepository(bool, ISyntaxTree)

Initializes a new instance of the ReflectionRepository class with specified parameters.

Properties

Assemblies

Represents assembly list.

Types

Represents type list in a form of key-value pairs.

Methods

AllowTypeMembers(Type)

Re-enables type members from being shown in code completion windows.

ClearAssemblies()

Clears assembly list.

ClearTypes()

Clears type list.

CompareParameters(IParameterMembers, ParameterInfo[])
DoFillMembers(ISyntaxNode, Point, IListMembers, IList<ISyntaxNode>, object, string, CodeCompletionScope, ref int)
FillCastExpressionMember(IListMembers, ISyntaxNode)
FillCastExpressionMember(IListMembers, string, string, bool)
FillDelegate(IListMembers, Type, string)
FillExtensionMembers(IListMembers, IList<INetNamespace>, Type, string, CodeCompletionScope)
FillGlobalTypes(IListMembers, IList<INetNamespace>, CodeCompletionScope)
FillInternalTypes(IListMembers, IList<INetNamespace>)
FillMember(IListMembers, object, string, CodeCompletionScope)

Obtains information about individual member of specified language element.

FillMember(IListMembers, MemberInfo, string, bool, bool, IList<INetNamespace>, CodeCompletionScope)
FillNamespaceTypes(IListMembers, INetNamespace, ISyntaxNode, string)
FillNamespaceTypes(IListMembers, IList<INetNamespace>, IList<INetNamespace>, string, bool, CodeCompletionScope)
FillTypeMember(IListMembers, MemberInfo, Type, string, string, bool, IList<INetNamespace>, CodeCompletionScope)
FillTypeMembers(IListMembers, IList<INetNamespace>, Type, CodeCompletionScope)
FillTypeMembers(IListMembers, IList<INetNamespace>, Type, string, CodeCompletionScope)
FillTypeMembers(IListMembers, MemberInfo[], Type, string, IList<INetNamespace>, CodeCompletionScope)
FillTypeMembers(IListMembers, MemberInfo[], Type, string, string, IList<INetNamespace>, CodeCompletionScope)
FindAssembly(string, out Assembly)
FindDeclaration(object, IList<ISyntaxNode>, Point, string, CodeCompletionScope, int)
FindMember(string, Point, ISyntaxNode, ISyntaxNode, string, int)
FindNamespaceDeclaration(INetNamespace, ISyntaxNode, string)
FindTypeDeclaration(Type, string, CodeCompletionScope)
FixupArrayType(string)
GetBindingFlags(CodeCompletionScope)
GetDataType(Type, bool, bool, bool, bool, bool, IList<INetNamespace>, CodeCompletionScope, bool)
GetDataType(Type, bool, bool, IList<INetNamespace>)
GetDataType(Type, bool, IList<INetNamespace>)
GetDefaultMemberType(Type, object)
GetDescription(IListMembers, ISyntaxNode, object, string, bool)

Obtains description of some language element.

GetElementAccessType(object, object, ISyntaxNode)
GetEnumType(object)
GetExpressionType(ISyntaxNode, ISyntaxNode, Point, string, out CodeCompletionScope, out object, out object, out int)
GetFullDescription(IListMembers, MemberInfo)
GetGenericArgs(string, bool, bool)
GetMemberDataType(MemberInfo, bool, bool, bool, bool, IList<INetNamespace>, CodeCompletionScope, bool)
GetMemberDataType(MemberInfo, bool, bool, bool, IList<INetNamespace>, CodeCompletionScope)
GetMemberIndex(MemberInfo)
GetMemberIndex(MemberInfo, out MemberAttribute)
GetMemberParameterInfos(MemberInfo)
GetMemberParameters(MemberInfo, bool, bool, IList<INetNamespace>)
GetMemberQualifier(MemberInfo)
GetMemberQualifier1(MemberInfo)
GetMemberType(ISyntaxNode, Point, object, string, out CodeCompletionScope)

Obtains information about a member of some language element.

GetMemberType(MemberInfo)
GetNamespaces()
GetParamQualifier(ParameterInfo)
GetParameterType(object, ISyntaxNode, int)
GetPriority(object)

Obtains priority of the given language element.

Specifies language element
GetQuickInfo(object)

Returns information about the object.

GetRegisteredType(string)

Retrieves registered type by its name.

GetShortTypeName(INetNamespace, string)
GetStaticModifier()
GetTypeByName(ISyntaxNode, string)
GetTypeByName(string)

Retrieves type by its name.

GetTypeName(Type, bool, bool, bool, bool, bool, IList<INetNamespace>, bool)
GetTypeQualifier(Type)
InternalRegisterAssemblies(Assembly[])
InternalRegisterAssemblies(string[])
IsDefaultProperty(PropertyInfo, Type)
IsEnumTypeRegistered()
IsIndexedProperty(PropertyInfo)
IsPrivateMember(MemberInfo)
IsProtectedMember(MemberInfo)
IsPublicMember(MemberInfo)
IsRestrictedType(Type)
IsSpecialName(MemberInfo)
IsStaticMember(MemberInfo)
IsSystemType(Type)
IsValidExtensionMember(MethodInfo, IList<INetNamespace>)
IsVirtualMember(MemberInfo)
MemberExists(IListMembers, string, ParameterInfo[])
RegisterAllAssemblies()

Registers all assemblies from the current application domain.

RegisterAssemblies(Assembly[])

Registers list of assemblies for code completion

RegisterAssemblies(string[])

Registers list of assemblies for code completion by assembly reference

RegisterAssembly(Assembly)

Adds specified assembly for code completion to the assembly list.

RegisterAssembly(string)

Adds specified assembly for code completion to the assembly list.

RegisterDefaultAssemblies(TechnologyEnvironment)

Registers some most frequently used assemblies.

Specifies technology environment
RegisterType(string, Type)

Adds specified type for code completion to the type list.

RegisterType(string, Type, bool)

Adds specified type for code completion to the type list.

RestrictTypeMembers(Type)

Disables type members from being shown in code completion windows.

UnregisterAssembly(Assembly, bool)

Removes specified assembly from the assembly list.

UnregisterAssembly(string, bool)

Removes specified assembly from the assembly list.

UnregisterType(string)

Removes specified type from the type list.