/// <summary> /// Initializes a new instance of the <see cref="ProjectRepository" /> class. /// </summary> /// <param name="eventStore">The event store.</param> /// <param name="projectStorage">The project storage.</param> /// <exception cref="System.ArgumentNullException">When projectStorage is null.</exception> public ProjectRepository(IEventStore eventStore, IProjectStorage <DB.Models.Project.Project> projectStorage) : base(eventStore) { if (projectStorage == null) { throw new ArgumentNullException("projectStorage"); } _projectStorage = projectStorage; }
public Project(IProjectStorage projectStorage) { _projectStorage = projectStorage; }
public ProjectController(IProjectStorage storage, ProjectCreator creator) { _storage = storage; _creator = creator; }
public ProjectCreator(IProjectStorage storage) { _storage = storage; }
public ProjectLogic(IProjectStorage projectStorage) { _projectStorage = projectStorage; }
public ProjectDomainService(IValidator <Project> validator, IProjectStorage projectStorage) { _validator = validator; _projectStorage = projectStorage; }