Пример #1
0
 public CentralLayoutBuilder(ITableLayoutDecoratorApplier tableLayoutDecoratorApplier, List <ITableLayoutDecorator> tableLayoutDecorators, ITableLayoutWrapperFactory tableLayoutWrapperFactory, IPropertyApplier <IControlProperties> propertyApplier)
 {
     _tableLayoutDecoratorApplier = tableLayoutDecoratorApplier;
     _tableLayoutWrapperFactory   = tableLayoutWrapperFactory;
     _propertyApplier             = propertyApplier;
     _tableLayoutDecorators       = tableLayoutDecorators;
 }
Пример #2
0
 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);
 }
Пример #3
0
 public void Setup()
 {
     _propertyApplier = A.Fake <IPropertyApplier <ITextBoxProperties> >();
     _editableBehaviourTextboxStrategy = new EditableBehaviourTextboxStrategy(_propertyApplier, _regularProperties, _inEditProperties);
 }
Пример #4
0
 public EditableBehaviourTextboxStrategy(IPropertyApplier <ITextBoxProperties> propertyApplier, ITextBoxPropertiesStyle regularProperties, ITextBoxPropertiesStyle inEditProperties)
 {
     _propertyApplier   = propertyApplier;
     _regularProperties = regularProperties;
     _inEditProperties  = inEditProperties;
 }
Пример #5
0
 public SwappableStrategyFactory(IPropertyApplier <ITextBoxProperties> propertyApplier)
 {
     _propertyApplier = propertyApplier;
 }