public void Save(IEncryptedStore <UserSettings> encryptedStore) => encryptedStore.Save(this);
public static UserSettings Load(IEncryptedStore <UserSettings> encryptedStore) => encryptedStore.Load();
protected JournalCmdletBase() { _encryptedStore = EncryptedStoreFactory.Create <UserSettings>(); _settings = UserSettings.Load(_encryptedStore); }