Ejemplo n.º 1
0
 /// <summary>
 /// Toast notification constructor
 /// </summary>
 /// <param name="tempDataWrapper"><see cref="ITempDataWrapper"/></param>
 /// <param name="nToastNotifyOptions">Default toast notify options</param>
 public ToastNotification(ITempDataWrapper tempDataWrapper, NToastNotifyOption nToastNotifyOptions)
 {
     _tempDataWrapper            = tempDataWrapper;
     _defaultNtoastNotifyOptions = nToastNotifyOptions.MergeWith(NToastNotifyOption.Defaults);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Toast notification constructor
 /// </summary>
 /// <param name="messageContainerFactory"></param>
 /// <param name="nToastNotifyOptions">Default toast notify options</param>
 public ToastNotification(IMessageContainerFactory messageContainerFactory, NToastNotifyOption nToastNotifyOptions)
 {
     _messageContainer           = messageContainerFactory.Create();
     _defaultNtoastNotifyOptions = nToastNotifyOptions.MergeWith(NToastNotifyOption.Defaults);
 }