RefDocGen
Home
API
FAQ
Templates
Configuration
Basic config
Custom static pages
Doc versioning
YAML config
C#
public class
ParameterTM
assembly
RefDocGen
namespace
RefDocGen.TemplateProcessors.Shared.TemplateModels.Members
Base type:
object
Implements:
IEquatable
<
ParameterTM
>
Represents the template model for a method parameter.
Constructors
public
ParameterTM
(
string
Name
,
GenericTypeLinkTM
Type
,
LanguageSpecificData
<
string[]
>
Modifiers
,
AttributeTM[]
Attributes
,
LanguageSpecificData
<
string
>
DefaultValue
,
string
DocComment
)
#
Represents the template model for a method parameter.
Parameters
string
Name
Name of the method parameter.
GenericTypeLinkTM
Type
Type of the method parameter.
LanguageSpecificData
<
string[]
>
Modifiers
Collection of the parameter modifiers (e.g.
out
,
ref
, etc.).
AttributeTM[]
Attributes
Array of attributes applied to the parameter.
LanguageSpecificData
<
string
>
DefaultValue
Default value of the parameter as a string.
null
if the parameter has no default value.
string
DocComment
Documentation comment for the method parameter.
null
if the doc comment is not provided.
Properties
public
AttributeTM[]
Attributes
{
get
;
init
;
}
#
Array of attributes applied to the parameter.
public
LanguageSpecificData
<
string
>
DefaultValue
{
get
;
init
;
}
#
Default value of the parameter as a string.
null
if the parameter has no default value.
public
string
DocComment
{
get
;
init
;
}
#
Documentation comment for the method parameter.
null
if the doc comment is not provided.
public
LanguageSpecificData
<
string[]
>
Modifiers
{
get
;
init
;
}
#
Collection of the parameter modifiers (e.g.
out
,
ref
, etc.).
public
string
Name
{
get
;
init
;
}
#
Name of the method parameter.
public
GenericTypeLinkTM
Type
{
get
;
init
;
}
#
Type of the method parameter.
Made with
RefDocGen