Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.Localization.LocalizedTextContent Class Reference

Detailed Description

Proxy container that provides you with a localized text content.

Inheritance diagram for Doloro.Localization.LocalizedTextContent:
Collaboration diagram for Doloro.Localization.LocalizedTextContent:

Public Member Functions

 LocalizedTextContent (string text)
 
delegate void UpdateHandler (AProxyContentProvider info)
 Handle UI member update. More...
 
delegate LocalizatorType LocalizationHandler (LocalizatorType origin)
 Handler that should return localized text related to the origin one in current localization policy. More...
 

Static Public Member Functions

static implicit operator string (LocalizedTextContent content)
 
static operator LocalizedTextContent (string content)
 
static void SetLocalzationHandler (LocalizationHandler localizator)
 Defines localization handler for text content. More...
 

Protected Member Functions

virtual void OnUpdated ()
 Occurs when some GUI element has been changed.
 

Properties

override string content [get, set]
 Title of item.
 
static LocalizationHandler localizator [get]
 

Events

UpdateHandler Updated
 Occurs when content has been updated.
 

Member Function Documentation

◆ LocalizationHandler()

delegate LocalizatorType Doloro.Localization.AGenericProxyContentProvider< ContentType, LocalizatorType >.LocalizationHandler ( LocalizatorType  origin)
inherited

Handler that should return localized text related to the origin one in current localization policy.

Parameters
originOrigin text or key code to localization system access.
Returns
Localized text in case if found. Origin text otherwise.

◆ SetLocalzationHandler()

static void Doloro.Localization.AGenericProxyContentProvider< ContentType, LocalizatorType >.SetLocalzationHandler ( LocalizationHandler  localizator)
staticinherited

Defines localization handler for text content.

Parameters
localizatorhandler that will be called to localize a content.

◆ UpdateHandler()

delegate void Doloro.Localization.AGenericProxyContentProvider< ContentType, LocalizatorType >.UpdateHandler ( AProxyContentProvider  info)
inherited

Handle UI member update.

Parameters
infoUpdated info.

The documentation for this class was generated from the following file: