ILocalizer.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Add(String, TemplateAttribute) |
Adds patterns from template separated by semi-colons under prefix;usage. |
Add(String, IEnumerable<String>) |
Add a key and a list of translations separated by semi-colon. |
Add(String, IReadOnlyDictionary<TemplateUsage,TemplateAttribute>) |
Adds patterns from template separated by semi-colons under prefix;usage. |
Add(String, IReadOnlyDictionary<Object,DescribeAttribute>) |
Adds value from dictionary under object if enumeration and prefix;object otherwise. |
Add(String, IReadOnlyDictionary<Object,TermsAttribute>) |
Adds values from dictionary separated by semi-colons under object if enumeration and prefix;object otherwise. |
Add(String, String) |
Add a key and its translation. |
Add(String, TemplateAttribute)
Adds patterns from template separated by semi-colons under prefix;usage.
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)
Parameters
- prefix
- String
The resource prefix.
- template
- TemplateAttribute
The template to add.
Applies to
Add(String, IEnumerable<String>)
Add a key and a list of translations separated by semi-colon.
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))
Parameters
- key
- String
Key for indexing translation list.
- list
- IEnumerable<String>
List of translated terms.
Applies to
Add(String, IReadOnlyDictionary<TemplateUsage,TemplateAttribute>)
Adds patterns from template separated by semi-colons under prefix;usage.
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))
Parameters
- prefix
- String
The resource prefix.
- templates
- IReadOnlyDictionary<TemplateUsage,TemplateAttribute>
The template dictionary to add.
Applies to
Add(String, IReadOnlyDictionary<Object,DescribeAttribute>)
Adds value from dictionary under object if enumeration and prefix;object otherwise.
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))
Parameters
- prefix
- String
The resource prefix.
- dictionary
- IReadOnlyDictionary<Object,DescribeAttribute>
The dictionary to add.
Applies to
Add(String, IReadOnlyDictionary<Object,TermsAttribute>)
Adds values from dictionary separated by semi-colons under object if enumeration and prefix;object otherwise.
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))
Parameters
- prefix
- String
The resource prefix.
- dictionary
- IReadOnlyDictionary<Object,TermsAttribute>
The dictionary to add.