public LoggingPersistableEntityRepositoryDecorator(IPersistableEntityRepository decoratedRepository)
 {
     persistableEntityRepository = decoratedRepository;
     jsonSerializerSettings      = new JsonSerializerSettings
     {
         ContractResolver      = new PropertyIgnoringCamelCaseResolver(),
         TypeNameHandling      = TypeNameHandling.All,
         ReferenceLoopHandling = ReferenceLoopHandling.Ignore
     };
 }
Exemplo n.º 2
0
 public static void Reset()
 {
     repository = new InMemoryPersistableEntityRepository();
 }
Exemplo n.º 3
0
 static InMemoryJournal()
 {
     //repository = new LoggingPersistableEntityRepositoryDecorator(new InMemoryPersistableEntityRepository());
     repository = new InMemoryPersistableEntityRepository();
 }
 static InMemorySnapshotStore()
 {
     repository = new InMemoryPersistableEntityRepository();
 }
Exemplo n.º 5
0
 public static void Reset()
 {
     repository = new InMemoryPersistableEntityRepository();
 }
Exemplo n.º 6
0
 static InMemoryJournal()
 {
     //repository = new LoggingPersistableEntityRepositoryDecorator(new InMemoryPersistableEntityRepository());
     repository = new InMemoryPersistableEntityRepository();
 }