Exemple #1
0
        public void UsingDefinition(Action <V4AggregateProjection <MyAggregate> > configure)
        {
            _projection = new V4AggregateProjection <MyAggregate>();
            configure(_projection);

            _projection.Compile(theStore);
        }
Exemple #2
0
        public void UsingDefinition <T>() where T : V4AggregateProjection <MyAggregate>, new()
        {
            _projection = new T();

            _projection.Compile(theStore);
        }