Or, if you don't mind the built-in delegates:
using(SvnClient client = new SvnClient()) { client.Status(path, delegate(object sender, SvnStatusEventArgs e) { if (e.LocalContentStatus == SvnStatus.Added) Console.WriteLine("Added {0}", e.FullPath); }); }
Note that delegated versions of SharpSvn functions are always (tiny) bits faster than versions returning a collection, since this method allows you to sort the smallest amount of information in a managed world. You can use Svn * EventArgs.Detach () to marshal anyway. (This is what the .GetXXX () functions inside)
source share