Inheritance: IAutomationBridge
Example #1
0
		public AutomationBridge ()
		{
			lock (syncRoot) {
				if (instance != null)
					Log.Error ("Another UiaDbus AutomationBridge has been created" + Environment.StackTrace);
				else
					instance = this;
			}
		}
Example #2
0
 public void Terminate()
 {
     app.RemoveAllEventHandlers();
     lock (syncRoot) {
         AbortMainLoop();
         if (instance == this)
         {
             instance = null;
         }
     }
 }
Example #3
0
 public AutomationBridge()
 {
     lock (syncRoot) {
         if (instance != null)
         {
             Log.Error("Another UiaDbus AutomationBridge has been created" + Environment.StackTrace);
         }
         else
         {
             instance = this;
         }
     }
 }
Example #4
0
		public void Terminate ()
		{
			app.RemoveAllEventHandlers ();
			lock (syncRoot) {
				AbortMainLoop ();
				if (instance == this)
					instance = null;
			}
		}