Esempio n. 1
0
 private ChromiumFxTask AddTask(Action action)
 {
     lock (_Locker)
     {
         var task = new ChromiumFxTask(action);
         _Tasks.Add(task);
         return(task);
     }
 }
Esempio n. 2
0
 private void RemoveTask(ChromiumFxTask task)
 {
     lock (_Locker)
         _Tasks.Remove(task);
 }