public Directory Create(OnError onError) { FailableActionExecutor.DoAction(onError, _fileSystemWrapper.CreateDirectory, _path); return this; }
public void DirectoryExamples() { var dir = new Directory(@"c:\temp"); dir.Create(OnError.Continue); dir.Delete(OnError.Continue); var stuffDir = dir.SubFolder("stuff"); var allFiles = dir.Files(); var dllFiles = dir.Files("*.dll"); var file = dir.File("web.config"); }