/// <summary> /// Creates a new instance of the persistence. /// </summary> /// <param name="persister">(optional) a persister component that loads and saves data from/to flat file.</param> public IdentifiableFilePersistence(JsonFilePersister <T> persister) : base(persister, persister) { _persister = persister; }
/// <summary> /// Creates a new instance of the persistence. /// </summary> /// <param name="persister">(optional) a persister component that loads and saves data from/to flat file.</param> public FilePersistence(JsonFilePersister <T> persister) : base(persister, persister) { _persister = persister; }
public JsonFilePersisterTest() { _persister = new JsonFilePersister <PersistenceFixture.Dummy>(); }