AlphaFS icon indicating copy to clipboard operation
AlphaFS copied to clipboard

Integrate TemporaryDirectory

Open alphaleonis opened this issue 10 years ago • 3 comments

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?

alphaleonis avatar Jan 15 '15 18:01 alphaleonis

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.

alphaleonis avatar Jan 15 '15 18:01 alphaleonis

Comment by alphaleonis from Monday Jan 12, 2015 at 14:12 GMT


This issue was moved to alphaleonis/AlphaFS.Temp#1

alphaleonis avatar Jan 15 '15 18:01 alphaleonis

Comment by Yomodo from Tuesday Jan 13, 2015 at 10:42 GMT


Similar in Host class:

using (Host.DriveConnection connection = new Host.DriveConnection(share)) {}

alphaleonis avatar Jan 15 '15 18:01 alphaleonis