public Stream OpenBaseVersion(string fileName) { if (!SvnClientWrapper.IsInSourceControl(fileName)) return null; using (SvnClientWrapper client = new SvnClientWrapper()) return client.OpenBaseVersion(fileName); }
public Stream OpenBaseVersion(string fileName) { if (!SvnClientWrapper.IsInSourceControl(fileName)) { return(null); } using (SvnClientWrapper client = new SvnClientWrapper()) return(client.OpenBaseVersion(fileName)); }
public Task<Stream> OpenBaseVersionAsync(FileName fileName) { return Task.Run(() => { if (!SvnClientWrapper.IsInSourceControl(fileName)) return null; using (SvnClientWrapper client = new SvnClientWrapper()) return client.OpenBaseVersion(fileName); }); }
public Task <Stream> OpenBaseVersionAsync(FileName fileName) { return(Task.Run(() => { if (!SvnClientWrapper.IsInSourceControl(fileName)) { return null; } using (SvnClientWrapper client = new SvnClientWrapper()) return client.OpenBaseVersion(fileName); })); }