Ejemplo n.º 1
0
 void IClassFactory.LockServer(bool bLock)
 {
     if (bLock)
     {
         RotatorSimulator.CountLock();
     }
     else
     {
         RotatorSimulator.UncountLock();
     }
     // Always attempt to see if we need to shutdown this server application.
     RotatorSimulator.ExitIf();
 }
Ejemplo n.º 2
0
 public ReferenceCountedObjectBase()
 {
     // We increment the global count of objects.
     RotatorSimulator.CountObject();
 }