C# Class VisualUIAVerify.Controls.AutomationElementTreeNode.AutomationElementTreeNodeSynchornizationManager

this class takes case of synchronization issues on AutomationElementTreeNode
Afficher le fichier Open project: geeksree/cSharpGeeks

Méthodes publiques

Méthode Description
AutomationElementTreeNodeSynchornizationManager ( AutomationElementTreeNode OwnerNode ) : System
Lock ( ) : IDisposable

This method is used to synchronize calls on AutomationElementTreeNode instance.

RunOnUIThread ( Delegate Method ) : void

this method is called when something is neede to perform on UI-Thread. This method must be called only within the Lock method

Méthodes protégées

Méthode Description
BeginInvokeOnUIThread ( Delegate Method ) : void
IsThisCallOnUIThread ( ) : bool

this method returns true if this call is made on currentTestTypeRootNode UI-Thread. Else return false.

Private Methods

Méthode Description
GetLockDisposer ( ) : IDisposable

Method Details

AutomationElementTreeNodeSynchornizationManager() public méthode

public AutomationElementTreeNodeSynchornizationManager ( AutomationElementTreeNode OwnerNode ) : System
OwnerNode AutomationElementTreeNode
Résultat System

BeginInvokeOnUIThread() protected méthode

protected BeginInvokeOnUIThread ( Delegate Method ) : void
Method System.Delegate
Résultat void

IsThisCallOnUIThread() protected méthode

this method returns true if this call is made on currentTestTypeRootNode UI-Thread. Else return false.
protected IsThisCallOnUIThread ( ) : bool
Résultat bool

Lock() public méthode

This method is used to synchronize calls on AutomationElementTreeNode instance.
public Lock ( ) : IDisposable
Résultat IDisposable

RunOnUIThread() public méthode

this method is called when something is neede to perform on UI-Thread. This method must be called only within the Lock method
public RunOnUIThread ( Delegate Method ) : void
Method System.Delegate Which method should be performed on UIThread.
Résultat void