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