public Presenter(
     Telemetry.ITelemetryCollector telemetryCollector,
     Telemetry.ITelemetryUploader telemetryUploader,
     IPromptDialog promptDialog
     )
 {
     this.telemetryCollector = telemetryCollector;
     this.telemetryUploader  = telemetryUploader;
     this.promptDialog       = promptDialog;
 }
Пример #2
0
 public static PresentationObjects Create(
     ModelObjects model,
     IClipboardAccess clipboardAccess,
     IShellOpen shellOpen,
     IAlertPopup alertPopup,
     IFileDialogs fileDialogs,
     IPromptDialog promptDialog,
     About.IAboutConfig aboutConfig,
     MainForm.IDragDropHandler dragDropHandler,
     ISystemThemeDetector systemThemeDetector,
     IViewsFactory views
     )
 {
     T callOptionalFactory <T>(Func <T> factory) where T : class