public class TypeParameterTM

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

Represents the template model for a generic type parameter declaration.

Constructors

public TypeParameterTM(string Name, string DocComment, LanguageSpecificData<string[]> Modifiers, GenericTypeLinkTM[] TypeConstraints, LanguageSpecificData<string[]> SpecialConstraints) #
Represents the template model for a generic type parameter declaration.
Parameters
string Name
Name of the type parameter.
string DocComment
Documentation comment for the type parameter. null if the doc comment is not provided.
Collection of the type parameter modifiers (e.g. in, out, etc.).
GenericTypeLinkTM[] TypeConstraints
Collection of the type constraint names of the type parameter.
LanguageSpecificData<string[]> SpecialConstraints
Collection of the special constraints of the type parameter.

Properties

public string DocComment { get; init; } #
Documentation comment for the type parameter. null if the doc comment is not provided.
public LanguageSpecificData<string[]> Modifiers { get; init; } #
Collection of the type parameter modifiers (e.g. in, out, etc.).
public string Name { get; init; } #
Name of the type parameter.
public LanguageSpecificData<string[]> SpecialConstraints { get; init; } #
Collection of the special constraints of the type parameter.
public GenericTypeLinkTM[] TypeConstraints { get; init; } #
Collection of the type constraint names of the type parameter.