public class DelegateTypeTM

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

Represents the template model for a delegate.

Constructors

public DelegateTypeTM(string Id, string Name, string Namespace, string Assembly, LanguageSpecificData<string[]> Modifiers, GenericTypeLinkTM ReturnType, bool ReturnsVoid, ParameterTM[] Parameters, TypeParameterTM[] TypeParameters, AttributeTM[] Attributes, CodeLinkTM DeclaringType, string SummaryDocComment, string RemarksDocComment, string ReturnsDocComment, string ExampleDocComment, string[] SeeAlsoDocComments, ExceptionTM[] Exceptions) #
Represents the template model for a delegate.
Parameters
string Id
Unique identifier of the delegate.
string Name
Name of the delegate.
string Namespace
The namespace containing the delegate.
string Assembly
The assembly containing the delegate.
Collection of modifiers for the delegate (e.g., public, abstract).
GenericTypeLinkTM ReturnType
Return type of the delegate method.
bool ReturnsVoid
Checks whether the return type of the delegate method is void.
ParameterTM[] Parameters
Collection of the delegate method parameters.
TypeParameterTM[] TypeParameters
Template models of the generic type parameters declared in the delegate.
AttributeTM[] Attributes
Array of attributes applied to the delegate.
CodeLinkTM DeclaringType
The type that contains the declaration of this type.
null if the type is not nested.
string SummaryDocComment
'summary' documentation comment for the delegate. null if the doc comment is not provided.
string RemarksDocComment
'remarks' documentation comment for the delegate. null if the doc comment is not provided.
string ReturnsDocComment
Documentation comment for the delegate method's return value. null if the doc comment is not provided.
string ExampleDocComment
'example' documentation comment for the delegate. null if the doc comment is not provided.
string[] SeeAlsoDocComments
Collection of seealso documentation comments for the delegate.
ExceptionTM[] Exceptions
A collection of user-documented exceptions (using the 'exception' XML tag) that the delegate might throw.

Properties

public string Assembly { get; init; } #
The assembly containing the delegate.
public AttributeTM[] Attributes { get; init; } #
Array of attributes applied to the delegate.
public CodeLinkTM DeclaringType { get; init; } #
The type that contains the declaration of this type.
null if the type is not nested.
public string ExampleDocComment { get; init; } #
'example' documentation comment for the delegate. null if the doc comment is not provided.
public ExceptionTM[] Exceptions { get; init; } #
A collection of user-documented exceptions (using the 'exception' XML tag) that the delegate might throw.
public string Id { get; init; } #
Unique identifier of the delegate.
public LanguageSpecificData<string[]> Modifiers { get; init; } #
Collection of modifiers for the delegate (e.g., public, abstract).
public string Name { get; init; } #
Name of the delegate.
public string Namespace { get; init; } #
The namespace containing the delegate.
public ParameterTM[] Parameters { get; init; } #
Collection of the delegate method parameters.
public string RemarksDocComment { get; init; } #
'remarks' documentation comment for the delegate. null if the doc comment is not provided.
public string ReturnsDocComment { get; init; } #
Documentation comment for the delegate method's return value. null if the doc comment is not provided.
public bool ReturnsVoid { get; init; } #
Checks whether the return type of the delegate method is void.
public GenericTypeLinkTM ReturnType { get; init; } #
Return type of the delegate method.
public string[] SeeAlsoDocComments { get; init; } #
Collection of seealso documentation comments for the delegate.
public string SummaryDocComment { get; init; } #
'summary' documentation comment for the delegate. null if the doc comment is not provided.
public TypeParameterTM[] TypeParameters { get; init; } #
Template models of the generic type parameters declared in the delegate.