/// <summary> /// Use the default local authentication using SVN (使用默认的本地认证使用SVN) /// </summary> public MySvn() { client = new SvnClient(); realtimeTextWriter = new MyRealTimeTextWriter(); reporter = new SvnClientReporter(client, realtimeTextWriter); ShowChange(true); }
public OutputPaneReporter(IAnkhServiceProvider context, SvnClient client) : base(context) { if (client == null) { throw new ArgumentNullException("client"); } _mgr = context.GetService <IOutputPaneManager>(); _sb = new StringBuilder(); _reporter = new SvnClientReporter(client, _sb); }
public OutputPaneReporter(IAnkhServiceProvider context, SvnClient client) { if (context == null) throw new ArgumentNullException("context"); else if (client == null) throw new ArgumentNullException("client"); _mgr = context.GetService<IOutputPaneManager>(); _sb = new StringBuilder(); _reporter = new SvnClientReporter(client, _sb); }