Skip to content

Instantly share code, notes, and snippets.

@codescribler
Last active August 29, 2015 14:00
Show Gist options
  • Save codescribler/2b4be15884a42e7913c0 to your computer and use it in GitHub Desktop.
Save codescribler/2b4be15884a42e7913c0 to your computer and use it in GitHub Desktop.
public class FileService : IWrapFile
{
public bool Exists(string path)
{
return File.Exists(path);
}
public void WriteAllText(string path, string contents)
{
File.WriteAllText(path, contents);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment