public CardActivityTests(EsdbFixture esdb) { _esdb = esdb; _repository = new InMemoryCardActivityRepository(); _runner = new ProjectionRunner(esdb.Client, new NullLogger <ProjectionRunner>(), new Projection[] { new CardActivityProjection(_repository) }); }
public void SetUp() { theProjection = new Projection <Parent>(DisplayFormatting.RawValues); theParent = new Parent(); _dictionary = new Lazy <IDictionary <string, object> >(() => { var runner = new ProjectionRunner(new FubuCore.Binding.InMemory.InMemoryServiceLocator()); var node = new DictionaryMediaNode(); runner.Run(theProjection, theParent, node); return(node.Values); }); }
public ProjectionService(ProjectionRunner runner) { _runner = runner; }