File Extension 1.0

Extension methods for the File class.

Methods

  • CopyIfExists(string sourceFile, string destinationFile, bool overwrite) -- Copies a file if the source file exists, which will avoid an unnecessary exception.
  • DeleteIfExists(string file) -- Deletes a file if it exists, which will avoid an unnecessary exception.

Details

Assembly: Synergy
Namespace: Synergy.IO.Extensions
Class: FileExtension

Last edited Jan 11, 2010 at 12:24 AM by flanakin, version 2

Comments

No comments yet.