Beispiel #1
0
            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);
            }
Beispiel #2
0
            public OutputPaneReporter(IVisualGitServiceProvider context, GitClient client)
            {
                if (context == null)
                    throw new ArgumentNullException("context");
                else if (client == null)
                    throw new ArgumentNullException("client");

                _mgr = context.GetService<IOutputPaneManager>();
                _sb = new StringBuilder();
            }