Table of Contents

Class T4Repository

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

Represents properties and methods to perform code completion functionality for T4 language.

public class T4Repository : CodeCompletionRepository, ICodeCompletionRepository, IDisposable
Inheritance
T4Repository
Implements

Constructors

T4Repository(bool, ISyntaxTree)

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

Properties

Assemblies

Represents list of Assemblies available for code completion.

Namespaces

Represents list of namespaces available for code completion..

Objects

Represents list of objects available for code completion..

Methods

ClearAssemblies()

Removes all elements from the assembly list.

ClearNamespaces()

Removes all elements from the namespace list.

ClearObjects()

Removes all elements from the object list.

ClearTypes()

Removes all elements from the type list.

FindAssembly(string, out Assembly)
GetRegisteredObject(string)

Finds object by its name.

GetRegisteredType(string)

Find type by its name.

IndexOfNamespace(IList<INetNamespace>, string)
RegisterAssembly(Assembly)

Adds specified assembly to the assembly list.

RegisterAssembly(string)

Adds specified assembly to the assembly list.

RegisterNamespace(string)

Adds specified namespace to the namespace list.

RegisterObject(string, object)

Adds specified object to the object list.

RegisterType(string, Type)

Adds specified type to the type list.

RegisterType(string, Type, bool)

Adds specified type to the type list.

UnregisterAssembly(Assembly, bool)

Removes specified assembly form the assembly list.

UnregisterAssembly(string, bool)

Removes specified assembly form the assembly list.

UnregisterNamespace(string)

Removes specified namespace form the namespace list.

UnregisterObject(string)

Removes specified object from the object list.

UnregisterType(string)

Removes specified type from the type list.