public TestContext(IExtensionManager extensionManager, CommandsSource commandsSource) { _extensionManager = extensionManager; _commadsSource = commandsSource; Metadata = new TestMetadataEmitter(this, _commadsSource.TestCommandsSource as TestCommandsSource); }
public static void RaiseOnEndScopeCommand(CommandsSource commandsSource, ILogContext logContext, LogScopeCommandArgs args) { commandsSource.OnEndLogScopeCommand?.Invoke(logContext, args); }
public static void RaiseOnLogMessageCommand(CommandsSource commandsSource, ILogContext logContext, LogMessageCommandArgs args) { commandsSource.OnLogMessageCommand?.Invoke(logContext, args); }
public LaunchContext(IExtensionManager extensionManager, CommandsSource commandsSource) { _extensionManager = extensionManager; _commadsSource = commandsSource; }