public JsonCiphertextDatastore(Guid userId, Func<string> load, Action<string> persist) : base(userId) { _jsonCiphertexts = JsonConvert.DeserializeObject<JsonCiphertexts>(load()) ?? new JsonCiphertexts(); _persist = persist; }
public JsonCiphertextDatastore(Guid userId, Func <string> load, Action <string> persist) : base(userId) { _jsonCiphertexts = JsonConvert.DeserializeObject <JsonCiphertexts>(load()) ?? new JsonCiphertexts(); _persist = persist; }