public LoggingPersistableEntityRepositoryDecorator(IPersistableEntityRepository decoratedRepository) { persistableEntityRepository = decoratedRepository; jsonSerializerSettings = new JsonSerializerSettings { ContractResolver = new PropertyIgnoringCamelCaseResolver(), TypeNameHandling = TypeNameHandling.All, ReferenceLoopHandling = ReferenceLoopHandling.Ignore }; }
public static void Reset() { repository = new InMemoryPersistableEntityRepository(); }
static InMemoryJournal() { //repository = new LoggingPersistableEntityRepositoryDecorator(new InMemoryPersistableEntityRepository()); repository = new InMemoryPersistableEntityRepository(); }
static InMemorySnapshotStore() { repository = new InMemoryPersistableEntityRepository(); }
public static void Reset() { repository = new InMemoryPersistableEntityRepository(); }
static InMemoryJournal() { //repository = new LoggingPersistableEntityRepositoryDecorator(new InMemoryPersistableEntityRepository()); repository = new InMemoryPersistableEntityRepository(); }