AlphaFS
AlphaFS copied to clipboard
Integrate TemporaryDirectory
Issue by Yomodo from Sunday Jan 11, 2015 at 12:11 GMT Originally opened as https://github.com/alphaleonis/AlphaFS/issues/68
I really like the disposable TemporaryDirectory class (from the unit tests).
Perhaps we should add this in code as a feature?
Comment by alphaleonis from Sunday Jan 11, 2015 at 12:17 GMT
Well, it's not a bad idea. Although it would probably need some rewriting to make it more generally useful. I'm also considering a similar TemporaryFileStream or TemporaryFile which I'm using in another project actually, which may be a good fit as well. We should think about what we'd want out of these classes for vNext.
Comment by alphaleonis from Monday Jan 12, 2015 at 14:12 GMT
This issue was moved to alphaleonis/AlphaFS.Temp#1
Comment by Yomodo from Tuesday Jan 13, 2015 at 10:42 GMT
Similar in Host class:
using (Host.DriveConnection connection = new Host.DriveConnection(share)) {}