public interface ITypeRegistry

assembly RefDocGen
namespace RefDocGen.CodeElements.TypeRegistry

Represents a registry of the declared types.

Properties

public IEnumerable<AssemblyData> Assemblies { get; } #
A collection of all assemblies contained in the processed DLLs.
public IEnumerable<IDelegateTypeData> Delegates { get; } #
A collection of all declared delegate types.
public IEnumerable<IEnumTypeData> Enums { get; } #
A collection of all declared enum types.
public IEnumerable<NamespaceData> Namespaces { get; } #
A collection of all namespaces contained in the processed DLLs.
public IEnumerable<IObjectTypeData> ObjectTypes { get; } #
A collection of all declared class, struct and interface types.

Methods

public ITypeDeclaration GetDeclaredType(string typeId) #
Gets the type with the given ID.
Parameters
string typeId
ID of the type to return.
Returns
ITypeDeclaration
The type with the given ID, if found. null otherwise.