Created
October 29, 2013 13:41
-
-
Save theorigin/7214845 to your computer and use it in GitHub Desktop.
An interface definition for the System.IO.File class. Allows mocking of code that uses any of these methods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace namespace VS.Library.Interfaces | |
{ | |
public interface IFile | |
{ | |
void Move(string sourceFileName, string destFileName); | |
bool Exists(string fileName); | |
void Delete(string fileName); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment