RefDocGen
Home
API
FAQ
Templates
Configuration
Basic config
Custom static pages
Doc versioning
YAML config
C#
public class
LanguageSpecificData
<
T
>
assembly
RefDocGen
namespace
RefDocGen.TemplateProcessors.Shared.Languages
Base type:
object
Represents data stored in multiple programming languages (e.g., C#, VB.NET, F#).
Type parameters
T
The type of the data associated with each language.
Attributes
[
DefaultMember
(
"Item"
)
]
Constructors
public
LanguageSpecificData<T>
(
Dictionary
<
string
,
T
>
data
)
#
Initializes a new instance of the
LanguageSpecificData<T>
class with the specified language-data mapping.
Parameters
Dictionary
<
string
,
T
>
data
The dictionary containing language-specific data, indexed by language identifiers.
Properties
public
T
CSharpData
{
get
;
}
#
Gets the data associated with C# language.
Attributes
[
JsonIgnore
]
Indexers
public
T
this
[
string
language
]
{
get
;
}
#
Gets the data associated with the given language.
Parameters
string
language
The language identifier (equal to the
RefDocGen.TemplateProcessors.Shared.Languages.ILanguageConfiguration.LanguageId
value).
Made with
RefDocGen