Sdílet prostřednictvím


ILocalizer.Add Metoda

Definice

Přetížení

Add(String, TemplateAttribute)

Přidá vzory ze šablony oddělené středníky pod předponou;použitím.

Add(String, IEnumerable<String>)

Přidejte klíč a seznam překladů oddělených středníkem.

Add(String, IReadOnlyDictionary<TemplateUsage,TemplateAttribute>)

Přidá vzory ze šablony oddělené středníky pod předponou;použitím.

Add(String, IReadOnlyDictionary<Object,DescribeAttribute>)

Přidá hodnotu ze slovníku pod objekt, pokud je výčet a předpona;jinak objekt.

Add(String, IReadOnlyDictionary<Object,TermsAttribute>)

Přidá hodnoty ze slovníku oddělené středníky v objektu, pokud je výčet a předpona;jinak objekt.

Add(String, String)

Přidejte klíč a jeho překlad.

Add(String, TemplateAttribute)

Přidá vzory ze šablony oddělené středníky pod předponou;použitím.

public void Add (string prefix, Microsoft.Bot.Builder.FormFlow.TemplateAttribute template);
abstract member Add : string * Microsoft.Bot.Builder.FormFlow.TemplateAttribute -> unit
Public Sub Add (prefix As String, template As TemplateAttribute)

Parametry

prefix
String

Předpona prostředku.

template
TemplateAttribute

Šablona, která se má přidat.

Platí pro

Add(String, IEnumerable<String>)

Přidejte klíč a seznam překladů oddělených středníkem.

public void Add (string key, System.Collections.Generic.IEnumerable<string> list);
abstract member Add : string * seq<string> -> unit
Public Sub Add (key As String, list As IEnumerable(Of String))

Parametry

key
String

Klíč pro indexování seznamu překladů

list
IEnumerable<String>

Seznam přeložených termínů

Platí pro

Add(String, IReadOnlyDictionary<TemplateUsage,TemplateAttribute>)

Přidá vzory ze šablony oddělené středníky pod předponou;použitím.

public void Add (string prefix, System.Collections.Generic.IReadOnlyDictionary<Microsoft.Bot.Builder.FormFlow.TemplateUsage,Microsoft.Bot.Builder.FormFlow.TemplateAttribute> templates);
abstract member Add : string * System.Collections.Generic.IReadOnlyDictionary<Microsoft.Bot.Builder.FormFlow.TemplateUsage, Microsoft.Bot.Builder.FormFlow.TemplateAttribute> -> unit
Public Sub Add (prefix As String, templates As IReadOnlyDictionary(Of TemplateUsage, TemplateAttribute))

Parametry

prefix
String

Předpona prostředku.

templates
IReadOnlyDictionary<TemplateUsage,TemplateAttribute>

Slovník šablon, který chcete přidat.

Platí pro

Add(String, IReadOnlyDictionary<Object,DescribeAttribute>)

Přidá hodnotu ze slovníku pod objekt, pokud je výčet a předpona;jinak objekt.

public void Add (string prefix, System.Collections.Generic.IReadOnlyDictionary<object,Microsoft.Bot.Builder.FormFlow.DescribeAttribute> dictionary);
abstract member Add : string * System.Collections.Generic.IReadOnlyDictionary<obj, Microsoft.Bot.Builder.FormFlow.DescribeAttribute> -> unit
Public Sub Add (prefix As String, dictionary As IReadOnlyDictionary(Of Object, DescribeAttribute))

Parametry

prefix
String

Předpona prostředku.

dictionary
IReadOnlyDictionary<Object,DescribeAttribute>

Slovník, který chcete přidat.

Platí pro

Add(String, IReadOnlyDictionary<Object,TermsAttribute>)

Přidá hodnoty ze slovníku oddělené středníky v objektu, pokud je výčet a předpona;jinak objekt.

public void Add (string prefix, System.Collections.Generic.IReadOnlyDictionary<object,Microsoft.Bot.Builder.FormFlow.TermsAttribute> dictionary);
abstract member Add : string * System.Collections.Generic.IReadOnlyDictionary<obj, Microsoft.Bot.Builder.FormFlow.TermsAttribute> -> unit
Public Sub Add (prefix As String, dictionary As IReadOnlyDictionary(Of Object, TermsAttribute))

Parametry

prefix
String

Předpona prostředku.

dictionary
IReadOnlyDictionary<Object,TermsAttribute>

Slovník, který chcete přidat.

Platí pro

Add(String, String)

Přidejte klíč a jeho překlad.

public void Add (string key, string translation);
abstract member Add : string * string -> unit
Public Sub Add (key As String, translation As String)

Parametry

key
String

Klíč pro indexování překladu

translation
String

Překlad klíče.

Platí pro