public class NamespaceTM

assembly RefDocGen
namespace RefDocGen.TemplateProcessors.Shared.TemplateModels.Namespaces
Base type:  object

Represents the template model for a namespace.

Constructors

public NamespaceTM(string Name, TypeNameTM[] Classes, TypeNameTM[] ValueTypes, TypeNameTM[] Interfaces, TypeNameTM[] Enums, TypeNameTM[] Delegates, string AssemblyName) #
Represents the template model for a namespace.
Parameters
string Name
The name of the namespace.
TypeNameTM[] Classes
Classes contained in the namespace, ordered alphabetically by their name.
TypeNameTM[] ValueTypes
Value types contained in the namespace, ordered alphabetically by their name.
TypeNameTM[] Interfaces
Interfaces contained in the namespace, ordered alphabetically by their name.
Enums contained in the namespace, ordered alphabetically by their name.
TypeNameTM[] Delegates
Delegates contained in the namespace, ordered alphabetically by their name.
string AssemblyName
Name of the assembly that contains the namespace.

Properties

public TypeNameTM[] AllTypes { get; } #
An enumerable of all types contained in the namespace, ordered alphabetically by their name.
public string AssemblyName { get; init; } #
Name of the assembly that contains the namespace.
public TypeNameTM[] Classes { get; init; } #
Classes contained in the namespace, ordered alphabetically by their name.
public TypeNameTM[] Delegates { get; init; } #
Delegates contained in the namespace, ordered alphabetically by their name.
public TypeNameTM[] Enums { get; init; } #
Enums contained in the namespace, ordered alphabetically by their name.
public string Id { get; } #
ID of the template model.
public TypeNameTM[] Interfaces { get; init; } #
Interfaces contained in the namespace, ordered alphabetically by their name.
public string Name { get; init; } #
The name of the namespace.
public TypeNameTM[] ValueTypes { get; init; } #
Value types contained in the namespace, ordered alphabetically by their name.