public VisioAutomation.Scripting.Client GetScriptingClient() { var app = this.GetVisioApplication(); // this ensures that any debug, verbose, user , etc. messages are // sent to a useful place in the unit tests var context = new DiagnosticDebugContext(); var client = new VisioAutomation.Scripting.Client(app,context); return client; }
public VisioAutomation.Scripting.Client GetScriptingClient() { var app = this.GetVisioApplication(); // this ensures that any debug, verbose, user , etc. messages are // sent to a useful place in the unit tests var context = new DiagnosticDebugContext(); var client = new VisioAutomation.Scripting.Client(app, context); return(client); }