Esempio n. 1
0
    private void CallContextBoundObjectMethod()
    {
        m_Mutex.WaitOne();
        TestContextBoundObject obj = new TestContextBoundObject();

        obj.TestMethod();
        m_Mutex.ReleaseMutex();
    }
Esempio n. 2
0
 private void CallContextBoundObjectMethod()
 {
     m_Mutex.WaitOne();
     TestContextBoundObject obj = new TestContextBoundObject();
     obj.TestMethod();
     m_Mutex.ReleaseMutex();
 }