OutputLogger(IOutputService outputService, ITheDebugger theDebugger, IOutputLoggerSettings outputLoggerSettings, IContentTypeRegistryService contentTypeRegistryService) { this.outputService = outputService; this.textPane = outputService.Create(GUID_OUTPUT_LOGGER_DEBUG, dnSpy_Debugger_Resources.DebugLoggerName, contentTypeRegistryService.GetContentType(ContentTypes.OutputDebug)); this.outputLoggerSettings = outputLoggerSettings; theDebugger.OnProcessStateChanged += TheDebugger_OnProcessStateChanged; }
OutputLogger(IOutputService outputService, ITheDebugger theDebugger, IOutputLoggerSettings outputLoggerSettings, IContentTypeRegistryService contentTypeRegistryService) { this.outputService = outputService; textPane = outputService.Create(GUID_OUTPUT_LOGGER_DEBUG, dnSpy_Debugger_Resources.DebugLoggerName, contentTypeRegistryService.GetContentType(ContentTypes.OutputDebug)); this.outputLoggerSettings = outputLoggerSettings; theDebugger.OnProcessStateChanged += TheDebugger_OnProcessStateChanged; }