public CentralLayoutBuilder(ITableLayoutDecoratorApplier tableLayoutDecoratorApplier, List <ITableLayoutDecorator> tableLayoutDecorators, ITableLayoutWrapperFactory tableLayoutWrapperFactory, IPropertyApplier <IControlProperties> propertyApplier) { _tableLayoutDecoratorApplier = tableLayoutDecoratorApplier; _tableLayoutWrapperFactory = tableLayoutWrapperFactory; _propertyApplier = propertyApplier; _tableLayoutDecorators = tableLayoutDecorators; }
public void Setup() { _tableLayoutDecorators = new List <ITableLayoutDecorator>(); _layoutDecoratorApplier = A.Fake <ITableLayoutDecoratorApplier>(); _tableLayoutWrapperFactory = A.Fake <ITableLayoutWrapperFactory>(); _propertyApplier = A.Fake <IPropertyApplier <IControlProperties> >(); _centralLayoutBuilder = new CentralLayoutBuilder(_layoutDecoratorApplier, _tableLayoutDecorators, _tableLayoutWrapperFactory, _propertyApplier); }
public void Setup() { _propertyApplier = A.Fake <IPropertyApplier <ITextBoxProperties> >(); _editableBehaviourTextboxStrategy = new EditableBehaviourTextboxStrategy(_propertyApplier, _regularProperties, _inEditProperties); }
public EditableBehaviourTextboxStrategy(IPropertyApplier <ITextBoxProperties> propertyApplier, ITextBoxPropertiesStyle regularProperties, ITextBoxPropertiesStyle inEditProperties) { _propertyApplier = propertyApplier; _regularProperties = regularProperties; _inEditProperties = inEditProperties; }
public SwappableStrategyFactory(IPropertyApplier <ITextBoxProperties> propertyApplier) { _propertyApplier = propertyApplier; }