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

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).