public static void NotDisposed(IDisposable argument, string argumentName)
 {
     if (argument.IsDisposed())
     {
         throw new ObjectDisposedException(argumentName);
     }
 }