I want to use the status method but i dont understand how it works. Could someone show me an example of use please?
EventHandler < SvnStatusEventArgs > statusHandler = new EventHandler<SvnStatusEventArgs>(void(object, SvnStatusEventArgs) target);
client.Status(path, statusHandler);
Or if you don't mind inline delegates:
Note that the delegate versions of the SharpSvn functions are always a (tiny) bit faster than the revisions returns a collection as this method allows marshalling the least amount of information to the Managed world. You can use Svn*EventArgs.Detach() to marshall everything anyway. (This is what the .GetXXX() functions do internally)
Well, it'll work exactly like the
svn status
command : http://svnbook.red-bean.com/en/1.0/re26.htmlYou'll get the list of files pumped to the EventHandler:
The inline delegate version worked for me but the
EventHandler<T>
version didn't work until I set the type toEventHandler<SvnStatusEventArgs>
.