/// <summary> /// Delete the specified temporary file. /// </summary> /// <param name="file"></param> public static void Delete(IFileReference file) { if (!file.IsTempFile) { throw new DicomIoException("Only temporary files should be removed through this operation."); } Instance.DeletePrivate(file); }
public static void Delete(string file) { _instance.DeletePrivate(file); }