/// <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); }
public MessageContainerFactory(IHttpContextAccessor httpContextAccessor, ITempDataWrapper tempDataWrapper, NToastNotifyOption nToastNotifyOption) { _httpContextAccessor = httpContextAccessor; _tempDataWrapper = tempDataWrapper; _nToastNotifyOption = nToastNotifyOption; }
public TempDataMessageContainer(ITempDataWrapper tempDataWrapper) { _tempDataWrapper = tempDataWrapper; }
public MessageContainerFactory(IHttpContextAccessor httpContextAccessor, ITempDataWrapper tempDataWrapper) { _httpContextAccessor = httpContextAccessor; _tempDataWrapper = tempDataWrapper; }
public ToastrViewComponent(ITempDataWrapper tempDataWrapper, ToastOption globalOption) { _tempDataWrapper = tempDataWrapper; _globalOption = globalOption; }