Пример #1
0
 public Pushover(SecretsStoreManager secretsStoreManager, object NotifyServiceOptions) : base(secretsStoreManager)
 {
     Options = (NotifyServiceOptions)NotifyServiceOptions;
 }
Пример #2
0
 public static NotifyServiceOptions AddNotifyServiceLiteDb(this NotifyServiceOptions builder, string folder)
 {
     builder.Services.AddScoped <INotifyMessageStore, NotifyMessageStore>(sp => new NotifyMessageStore(folder));
     builder.Services.AddScoped <INotifySettingStore, NotifySettingStore>(sp => new NotifySettingStore(folder));
     return(builder);
 }