Adding method to open file with the given mode

This commit is contained in:
Chris Cameron
2017-10-12 16:48:30 -04:00
parent 25d8140c3e
commit 43f1776ba9

View File

@@ -71,5 +71,11 @@ namespace ICD.Common.Utils.IO
{
return new IcdFileStream(File.OpenWrite(path));
}
[PublicAPI]
public static IcdFileStream Open(string path, FileMode mode)
{
return new IcdFileStream(File.Open(path, mode));
}
}
}