예제 #1
0
 public void Close()
 {
     lock (gate)
     {
         valve.Close();
     }
 }
예제 #2
0
 public void Close()
 {
     lock (_gate) {
         _valve.Close();
     }
 }