public GenericRepository(IUnitOfWork unitOfWork , ISpecificationLocator specificationLocator) { this.EnsureNotNull(specificationLocator); this.EnsureNotNull(unitOfWork); this.SpecificationLocator = specificationLocator; this.UnitOfWork = unitOfWork; }
/// <summary> /// Constructor. /// </summary> public CustomerRepository(IUnitOfWork unitOfWork, ISpecificationLocator specificationLocator) : base(unitOfWork, specificationLocator) { }
public Concordion(ISpecificationLocator specificationLocator, ISpecificationReader specificationReader, IEvaluatorFactory evaluatorFactory) { SpecificationLocator = specificationLocator; SpecificationReader = specificationReader; EvaluatorFactory = evaluatorFactory; }
public IConcordionExtender WithSpecificationLocator(ISpecificationLocator specificationLocator) { this.SpecificationLocator = specificationLocator; return this; }
public IConcordionExtender WithSpecificationLocator(ISpecificationLocator specificationLocator) { this.SpecificationLocator = specificationLocator; return(this); }
/// <summary> /// Constructor. /// </summary> public LinqToSqlRepository(IUnitOfWork unitOfWork, ISpecificationLocator specificationLocator) : base(unitOfWork, specificationLocator) { }