public AutoFillAction(IActionProvider actionProvider, IEnumerable <IWebElement> elements, object seedWith) { _actionProvider = actionProvider; _elements = elements; _seedWith = seedWith; _isSimpleSeed = IsSeedSimple(); _constraintHelper = _actionProvider.UsingFixture.Data.Locate <IConstraintHelper>(); }
public TypePopulator(IFixtureConfiguration configuration, IConstraintHelper helper, ITypePropertySelector propertySelector, IPropertySetter setter, ITypeFieldSelector fieldSelector, IFieldSetter fieldSetter) { _configuration = configuration; _helper = helper; _propertySelector = propertySelector; _setter = setter; _fieldSelector = fieldSelector; _fieldSetter = fieldSetter; }
/// <summary> /// Default constructor /// </summary> /// <param name="dataGenerator"></param> /// <param name="constraintHelper"></param> public ShortConvention(IRandomDataGeneratorService dataGenerator, IConstraintHelper constraintHelper) { _dataGenerator = dataGenerator; _constraintHelper = constraintHelper; }
public SeleniumTypePropertySelector(IConstraintHelper helper) : base(helper) { }
/// <summary> /// DEfault constructor /// </summary> /// <param name="dataGenerator"></param> /// <param name="constraintHelper"></param> public EnumConvention(IRandomDataGeneratorService dataGenerator, IConstraintHelper constraintHelper) { _dataGenerator = dataGenerator; }
public TypeCreator(IFixtureConfiguration configuration, IConstructorSelector selector, IConstraintHelper constraintHelper) { _configuration = configuration; _selector = selector; _constraintHelper = constraintHelper; }
public TypeFieldSelector(IConstraintHelper helper) { _helper = helper; }
/// <summary> /// Default constructor /// </summary> /// <param name="dataGenerator"></param> /// <param name="helper"></param> protected BaseNamedConvention(IRandomDataGeneratorService dataGenerator, IConstraintHelper helper) { _dataGenerator = dataGenerator; _helper = helper; }
/// <summary> /// Default constructor /// </summary> /// <param name="constraintHelper"></param> public UriConvention(IConstraintHelper constraintHelper) { _constraintHelper = constraintHelper; }
/// <summary> /// Default constructor /// </summary> /// <param name="dataGenerator"></param> /// <param name="helper"></param> public StringNamedConvention(IRandomDataGeneratorService dataGenerator, IConstraintHelper helper) : base(dataGenerator, helper) { }
/// <summary> /// Default constructor /// </summary> /// <param name="dataGenerator"></param> /// <param name="constraintHelper"></param> public DateTimeConvention(IRandomDataGeneratorService dataGenerator, IConstraintHelper constraintHelper) { _dataGenerator = dataGenerator; _helper = constraintHelper; }
public TypePropertySelector(IFixtureConfiguration configuration, IConstraintHelper helper) { _configuration = configuration; _helper = helper; }
private T GenerateClosedFake <T>(DataRequest request, IConstraintHelper helper) { Action <IFakeOptions <T> > options = helper.GetValue <Action <IFakeOptions <T> > >(request.Constraints, null, "builderOptions"); return(options != null?A.Fake(options) : A.Fake <T>()); }
/// <summary> /// Default constructor /// </summary> /// <param name="constraintHelper"></param> public DelegateConvention(IConstraintHelper constraintHelper) { _constraintHelper = constraintHelper; }