C# Class TranslationHelperPlugin.TranslationTracker

Afficher le fichier Open project: GeBo1/GeBoPlugins Class Usage Examples

Private Properties

Свойство Type Description
CancelOutstandingCoroutines void
GetLock object
IsTracking bool
TrackTranslationFunction void
TranslationHelper_CardTranslationHelperBehaviorChanged void
TranslationTracker System
WaitUntilDoneTracking IEnumerator

Méthodes publiques

Méthode Description
CallHandlers ( TranslationHelperPlugin.NameScope scope, string trackedKey, ITranslationResult result ) : void
TrackKey ( TranslationHelperPlugin.NameScope scope, string trackedKey ) : void
TrackKey ( TranslationHelperPlugin.NameScope scope, string trackedKey, IEnumerable handlers ) : void
TrackTranslationCoroutine ( NameTranslationCoroutine translationCoroutine, TranslationHelperPlugin.NameScope scope, string trackedKey ) : IEnumerator
TrackTranslationCoroutine ( NameTranslationCoroutine translationCoroutine, TranslationHelperPlugin.NameScope scope, string trackedKey, IEnumerable handlers ) : IEnumerator
TrackTranslationFunction ( Action translationFunction, TranslationHelperPlugin.NameScope scope, string trackedKey ) : void
TranslationTracker ( string trackerName, IEqualityComparer comparer = null ) : System
TryAddHandlers ( TranslationHelperPlugin.NameScope scope, string trackedKey ) : bool
TryAddHandlers ( TranslationHelperPlugin.NameScope scope, string trackedKey, IEnumerable handlers ) : bool

Private Methods

Méthode Description
CancelOutstandingCoroutines ( ) : void
GetLock ( TranslationHelperPlugin.NameScope scope ) : object
IsTracking ( TranslationHelperPlugin.NameScope scope, string trackedKey ) : bool
TrackTranslationFunction ( Action translationFunction, TranslationHelperPlugin.NameScope scope, string trackedKey, IEnumerable handlers ) : void
TranslationHelper_CardTranslationHelperBehaviorChanged ( object sender, EventArgs e ) : void
TranslationTracker ( ) : System
WaitUntilDoneTracking ( TranslationHelperPlugin.NameScope scope, string trackedKey ) : IEnumerator

Method Details

CallHandlers() public méthode

public CallHandlers ( TranslationHelperPlugin.NameScope scope, string trackedKey, ITranslationResult result ) : void
scope TranslationHelperPlugin.NameScope
trackedKey string
result ITranslationResult
Résultat void

TrackKey() public méthode

public TrackKey ( TranslationHelperPlugin.NameScope scope, string trackedKey ) : void
scope TranslationHelperPlugin.NameScope
trackedKey string
Résultat void

TrackKey() public méthode

public TrackKey ( TranslationHelperPlugin.NameScope scope, string trackedKey, IEnumerable handlers ) : void
scope TranslationHelperPlugin.NameScope
trackedKey string
handlers IEnumerable
Résultat void

TrackTranslationCoroutine() public méthode

public TrackTranslationCoroutine ( NameTranslationCoroutine translationCoroutine, TranslationHelperPlugin.NameScope scope, string trackedKey ) : IEnumerator
translationCoroutine NameTranslationCoroutine
scope TranslationHelperPlugin.NameScope
trackedKey string
Résultat IEnumerator

TrackTranslationCoroutine() public méthode

public TrackTranslationCoroutine ( NameTranslationCoroutine translationCoroutine, TranslationHelperPlugin.NameScope scope, string trackedKey, IEnumerable handlers ) : IEnumerator
translationCoroutine NameTranslationCoroutine
scope TranslationHelperPlugin.NameScope
trackedKey string
handlers IEnumerable
Résultat IEnumerator

TrackTranslationFunction() public méthode

public TrackTranslationFunction ( Action translationFunction, TranslationHelperPlugin.NameScope scope, string trackedKey ) : void
translationFunction Action
scope TranslationHelperPlugin.NameScope
trackedKey string
Résultat void

TranslationTracker() public méthode

public TranslationTracker ( string trackerName, IEqualityComparer comparer = null ) : System
trackerName string
comparer IEqualityComparer
Résultat System

TryAddHandlers() public méthode

public TryAddHandlers ( TranslationHelperPlugin.NameScope scope, string trackedKey ) : bool
scope TranslationHelperPlugin.NameScope
trackedKey string
Résultat bool

TryAddHandlers() public méthode

public TryAddHandlers ( TranslationHelperPlugin.NameScope scope, string trackedKey, IEnumerable handlers ) : bool
scope TranslationHelperPlugin.NameScope
trackedKey string
handlers IEnumerable
Résultat bool