コード例 #1
0
 public ScreenshotWorkflowPlugin(
     IScreenshotEngine screenshotEngine,
     IScreenshotOutputProvider screenshotOutputProvider,
     IScreenshotPluginProvider screenshotPluginProvider)
 {
     _screenshotEngine         = screenshotEngine;
     _screenshotOutputProvider = screenshotOutputProvider;
     _screenshotPluginProvider = screenshotPluginProvider;
     InitializeScreenshotProviderObservers();
 }
コード例 #2
0
 public ScreenshotPlugin(
     IScreenshotEngine screenshotEngine,
     IScreenshotOutputProvider screenshotOutputProvider,
     IScreenshotPluginProvider screenshotPluginProvider)
 {
     _isEnabled                = ConfigurationService.GetSection <ScreenshotsSettings>().IsEnabled;
     _screenshotEngine         = screenshotEngine;
     _screenshotOutputProvider = screenshotOutputProvider;
     _screenshotPluginProvider = screenshotPluginProvider;
     InitializeScreenshotProviderObservers();
 }