コード例 #1
0
 public NotifyOfStartupReady(
     ToastConductor toastConductor,
     StartupReadyToastViewModel startupReadyToastViewModel)
 {
     _toastConductor             = toastConductor;
     _startupReadyToastViewModel = startupReadyToastViewModel;
 }
コード例 #2
0
 /// <summary>
 /// Constructor for the Hub
 /// </summary>
 /// <param name="windowsServicesConfiguration">IWindowsServicesConfiguration</param>
 /// <param name="toastConductor">ToastConductor</param>
 /// <param name="clipboardUpdates">ISubject of ClipboardUpdateInformation</param>
 public WindowsServicesHub(
     IWindowsServicesConfiguration windowsServicesConfiguration,
     ToastConductor toastConductor,
     ClipboardSubjectHolder clipboardUpdates
     )
 {
     _windowsServicesConfiguration = windowsServicesConfiguration;
     _toastConductor   = toastConductor;
     _clipboardUpdates = clipboardUpdates;
 }