public AllowedMemberValuesExtension(IAllowedValueSpecification allowed, IDictionary <MemberInfo, IAllowedValueSpecification> specifications, params IAllowedMemberValues[] items) : base(items.ToList()) { _allowed = allowed; Specifications = specifications; }
public Seeding(IDictionary <MemberInfo, IAllowedValueSpecification> specifications, IDictionary <MemberInfo, ISpecification <object> > instances, IAllowedValueSpecification allowed) : this(specifications.ToDictionary(x => x.Key, x => (ISpecification <object>)x.Value), instances, allowed) { }
public Seeding(IDictionary <MemberInfo, ISpecification <object> > specifications, IDictionary <MemberInfo, ISpecification <object> > instances, IAllowedValueSpecification allowed) { _specifications = specifications; _instances = instances; _allowed = allowed; }
public AllowedMemberValuesExtension(IAllowedValueSpecification allowed) : this(allowed, new Dictionary <MemberInfo, IAllowedValueSpecification>()) { }
public AllowedSpecificationAlteration(IAllowedValueSpecification specification) => _specification = specification;