Пример #1
0
 void IDisposable.Dispose()
 {
     try
     {
         foreach (var item in this.drawDocs)
         {
             item.Value.Dispose();
         }
     }
     catch { }
     instance = null;
 }
 void IDisposable.Dispose()
 {
     //TODO: do some disposables
     try{
         foreach (var item in this.drawDocs)
         {
             item.Value.Dispose();
         }
     }catch{}
     instance = null;
 }