Skip to content

Instantly share code, notes, and snippets.

Pawel Pabich pawelpabich

Block or report user

Report or block pawelpabich

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jen20
jen20 / GetEventStoreRepository.cs
Last active Aug 13, 2018
Event Store implementation of the CommonDomain IRepository interface and integration tests
View GetEventStoreRepository.cs
public class GetEventStoreRepository : IRepository
{
private const string EventClrTypeHeader = "EventClrTypeName";
private const string AggregateClrTypeHeader = "AggregateClrTypeName";
private const string CommitIdHeader = "CommitId";
private const int WritePageSize = 500;
private const int ReadPageSize = 500;
private readonly Func<Type, Guid, string> _aggregateIdToStreamName;
You can’t perform that action at this time.