示例#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);
 }