Ejemplo n.º 1
0
 public TypedEventStore(IEventStore eventStore, IEventsSerializer eventsSerializer, IMetadataSerializer metadataSerializer, ILogger logger)
 {
     this.EventStore         = eventStore;
     this.EventsSerializer   = eventsSerializer;
     this.MetadataSerializer = metadataSerializer;
     this.Logger             = logger;
 }
Ejemplo n.º 2
0
        public EventsRepository(IEventsSerializer serializer)
        {
            if (serializer == null)
            {
                throw new ArgumentNullException("serializer");
            }

            _serializer = serializer;
        }
Ejemplo n.º 3
0
 public FileStorageEventStoreInternalTrackingClient(IEventStreamTrackedReactiveReader client, IEventsSerializer eventSerializer,
                                                    IMetadataSerializer metadataSerializer)
 {
     this.Client             = client;
     this.EventSerializer    = eventSerializer;
     this.MetadataSerializer = metadataSerializer;
 }