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