Esempio n. 1
0
 internal void Remove(BackgroundFbImpl o)
 {
     lock (this)
     {
         fbs.Remove(o);
     }
 }
Esempio n. 2
0
 internal void Add(BackgroundFbImpl o)
 {
     lock (this)
     {
         fbs.Add(o);
     }
 }
Esempio n. 3
0
 internal BackgroundFbImpl[] GetAll()
 {
     lock (this)
     {
         BackgroundFbImpl[] allFbs = allFbs = new BackgroundFbImpl[fbs.Count];
         fbs.CopyTo(allFbs);
         return(allFbs);
     }
 }
Esempio n. 4
0
 public void __Process()
 {
     // Lazy initialization of container
     if (impl == null)
     {
         impl = new BackgroundFbImpl();
         Container.GetInstance().Add(impl);
     }
     impl.Process(this);
 }