Namespace: Consultingwerk.SmartFramework.Localization
Class 
ObtainTranslationEventArgs Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.EventArgs

File:ObtainTranslationEventArgs
Purpose:Event argument class for the ObtainTranslation event of the
IUserInterfaceTranslationService
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue May 14 06:34:06 CEST 2013


Top Constructor Summary
Options Name Purpose
+ ObtainTranslationEventArgs (character, character, character, character) Constructor for the ObtainTranslationEventArgs class

Top Property Summary
Options Name Purpose
+ Consultingwerk.EventArgs Empty Returns the default instance of the Consultingwerk.EventArgs class
Inherited from Consultingwerk.EventArgs
+ LOGICAL Handled Gets and sets if the translation was handled
+ CHARACTER ObjectName Returns the name of the user control or form that is being processed
+ CHARACTER OriginalString Returns the original string of the element that the event is raised for
+ CHARACTER ResourceKey Returns the Resource Key for the element that the event is raised for
+ CHARACTER ResourceKeyPartial Get and sets the partial match of the Resource Key that was used to obtain the current translation
+ CHARACTER TranslatedString Gets and sets the translated string for the element that the event is raised for
+ CHARACTER TranslationType Gets and sets the TranslationType that was used to obtain the translation


Constructor Detail
Top

PUBLIC ObtainTranslationEventArgs (character, character, character, character)

Purpose: Constructor for the ObtainTranslationEventArgs class
Notes:

Parameters:
pcObjectName CHARACTER
The name of the user control or form that is being processed
pcResourceKey CHARACTER
The Resource Key for the element that the event is raised for
pcResourceKeyPartial CHARACTER
The partial match of the Resource Key that was used to obtain the current translation
pcOriginalString CHARACTER
The original string of the element that the event is raised for


Property Detail
Top

PUBLIC Consultingwerk.EventArgs Empty

Inherited from Consultingwerk.EventArgs
Purpose: Returns the default instance of the Consultingwerk.EventArgs class
Notes:

Returns Consultingwerk.EventArgs
Top

PUBLIC LOGICAL Handled

Purpose: Gets and sets if the translation was handled
Notes: Set this to TRUE when you provided a translation

Returns LOGICAL
Top

PUBLIC CHARACTER ObjectName

Purpose: Returns the name of the user control or form that is being processed
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER OriginalString

Purpose: Returns the original string of the element that the event is raised
for
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER ResourceKey

Purpose: Returns the Resource Key for the element that the event is raised
for
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER ResourceKeyPartial

Purpose: Get and sets the partial match of the Resource Key that was used to
obtain the current translation
Notes: Set this when a (global) translation was obtained through a partial
match, e.g. when numbers where replaced with *
The IUserinterfaceTranslationService is expected to replace numbers
in the resource key with * here

Returns CHARACTER
Top

PUBLIC CHARACTER TranslatedString

Purpose: Gets and sets the translated string for the element that the event
is raised for
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER TranslationType

Purpose: Gets and sets the TranslationType that was used to obtain the
translation
Notes:

Returns CHARACTER


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:36:52