Exemple #1
0
        public void DisposeTest()
        {
            Connecter target = new Connecter(); // TODO: 初始化为适当的值

            target.Dispose();
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
Exemple #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="eventArgs"></param>
 private void DomainWorld_ExitWorld(object sender, BaseWorldEventArgs eventArgs)
 {
     m_Connecter.Dispose();
     m_Listener.Dispose();
 }
Exemple #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="eventArgs"></param>
 private void ZoneClusterExitWorld(object sender, BaseWorldEventArgs eventArgs)
 {
     m_Connecter.Dispose();
     m_Listener.Dispose();
 }