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.
- FillMember(IListMembers, object, string, CodeCompletionScope)
Obtains information about individual member of specified language element.
- FillTypeMembers(IListMembers, MemberInfo[], Type, string, IList<INetNamespace>, CodeCompletionScope)
- GetDescription(IListMembers, ISyntaxNode, object, string, bool)
Obtains description of some language element.
- GetMemberType(ISyntaxNode, Point, object, string, out CodeCompletionScope)
Obtains information about a member of some language element.
- 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.
- GetTypeByName(string)
Retrieves type by its name.
- 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.