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