Inheritance: ISongPlayer, IDisposable
コード例 #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_songPlayer != null)
         {
             _songPlayer.Dispose();
             _songPlayer = null;
         }
     }
 }
コード例 #2
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_songPlayer != null)
         {
             _songPlayer.Dispose();
             _songPlayer = null;
         }
     }
 }