public Pushover(SecretsStoreManager secretsStoreManager, object NotifyServiceOptions) : base(secretsStoreManager) { Options = (NotifyServiceOptions)NotifyServiceOptions; }
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); }