示例#1
0
        public static IDisposable EnterExit(this IMonitor m)
        {
            var ret = new EnterExitWrapper(m);

            m.Enter();
            return(ret);
        }
示例#2
0
 public void Enter()
 {
     _m.Enter();
 }
示例#3
0
 public void Enter()
 {
     _monitor?.Enter();
 }