![]() |
EasyTalk API
|
A node tag used to specify whether text should be translated or not. More...
Inherits EasyTalk.Nodes.Tags.NodeTag.
Public Member Functions | |
TranslateTag () | |
Creates a new TranslateTag. | |
TranslateTag (bool translate) | |
Creates a new TranslateTag with the value specified. | |
![]() | |
NodeTag (string tagName) | |
Creates a new NodeTag with the specified tag name. | |
Public Attributes | |
bool | translate |
Whether the text should be translated. | |
![]() | |
string | tagName |
The name of the tag. | |
Additional Inherited Members | |
![]() | |
static string | ExtractTags (string text, Dictionary< string, NodeTag > tags) |
Extracts all node tags from the provided string and stores them in a Dictionary, where the key is the tag name and the value is the node tag itself. | |
static string | RemoveTags (string text) |
Creates and returns a version of the provided string with all of the node tags removed. | |
static string | ExtractTag (string text, string tagName, out NodeTag tag) |
Extracts the specified node tag type from the provided string and stores it in the NodeTag specified. | |
static NodeTag | CreateTag (string tagName, string value) |
Creates a new NodeTag of the specified type with the value provided. | |
A node tag used to specify whether text should be translated or not.
EasyTalk.Nodes.Tags.TranslateTag.TranslateTag | ( | ) |
Creates a new TranslateTag.
EasyTalk.Nodes.Tags.TranslateTag.TranslateTag | ( | bool | translate | ) |
Creates a new TranslateTag with the value specified.
translate | Whether the text should be translated. |
bool EasyTalk.Nodes.Tags.TranslateTag.translate |
Whether the text should be translated.