Ejemplo n.º 1
0
 public SchemaGridsHandler(
     IGridBuilder gridBuilder,
     ModelLoader modelLoader)
 {
     _gridBuilder = gridBuilder;
     _modelLoader = modelLoader;
 }
Ejemplo n.º 2
0
 protected Grid(IGridBuilder <T> gridBuilder,
                IRepository repository,
                ISessionContext sessionContext)
 {
     GridBuilder     = gridBuilder;
     _repository     = repository;
     _sessionContext = sessionContext;
     _modifications  = new List <Action <IGridColumn, T> >();
 }
Ejemplo n.º 3
0
        public static IGridBuilder <G> AddRow <G>(this IGridBuilder <G> builder, params View[] views) where G : Grid
        {
            builder.Col = 0;
            foreach (var view in views)
            {
                builder.Grid.Children.Add(view, builder.Col, builder.Row);
                builder.Col++;
            }
            builder.Row++;

            return(builder);
        }
Ejemplo n.º 4
0
        public static IGridBuilder <G> RowSpan <G>(this IGridBuilder <G> builder, View view, int span = -1) where G : Grid
        {
            if (span < 0)
            {
                span = builder.Grid.ColumnDefinitions.Count;
            }
            builder.Col = 0;
            builder.Grid.Children.Add(view, builder.Col, builder.Col + span, builder.Row, builder.Row + 1);
            builder.Col += span;
            builder.Row++;

            return(builder);
        }
Ejemplo n.º 5
0
 public GameEngine(IGridBuilder gridBuilder)
 {
     _gridBuilder = gridBuilder ?? throw new ArgumentNullException(nameof(gridBuilder));
 }
Ejemplo n.º 6
0
 public CompletedTaskGrid(IGridBuilder <Task> gridBuilder,
                          ISessionContext sessionContext,
                          IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
Ejemplo n.º 7
0
 public PendingTaskGrid(IGridBuilder <Task> gridBuilder,
                        ISessionContext sessionContext,
                        IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
Ejemplo n.º 8
0
 public POSeedListGrid(IGridBuilder <Seed> gridBuilder,
                       ISessionContext sessionContext,
                       IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
Ejemplo n.º 9
0
 public CalculatorListGrid(IGridBuilder <Calculator> gridBuilder,
                           ISessionContext sessionContext,
                           IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
Ejemplo n.º 10
0
 public EmailTemplateListGrid(IGridBuilder <EmailTemplate> gridBuilder,
                              ISessionContext sessionContext,
                              IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
Ejemplo n.º 11
0
 public WeatherListGrid(IGridBuilder <Weather> gridBuilder,
                        ISessionContext sessionContext,
                        IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
Ejemplo n.º 12
0
 public PrimeNumbersService(IPrimeNumberGenerator primeNumberGenerator, IGridBuilder gridBuilder)
 {
     _primeNumberGenerator = primeNumberGenerator;
     _gridBuilder = gridBuilder;
 }
Ejemplo n.º 13
0
 public PhotoCategoryListGrid(IGridBuilder <PhotoCategory> gridBuilder,
                              ISessionContext sessionContext,
                              IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
Ejemplo n.º 14
0
 public GameLogic(ISettingsChecker settingsChecker, IGridBuilder gridBuilder, ICoordinateParser coordinateParser)
 {
     _settingsChecker  = settingsChecker;
     _gridBuilder      = gridBuilder;
     _coordinateParser = coordinateParser;
 }
Ejemplo n.º 15
0
 public TaskTypeListGrid(IGridBuilder <TaskType> gridBuilder,
                         ISessionContext sessionContext,
                         IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
Ejemplo n.º 16
0
 public ReceivePurchaseOrderLineItemGrid(IGridBuilder <PurchaseOrderLineItem> gridBuilder,
                                         ISessionContext sessionContext,
                                         IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
 public InventoryProductListGrid(IGridBuilder <InventoryProduct> gridBuilder,
                                 ISessionContext sessionContext,
                                 IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
 public ColumnBuilderFactory(IGridBuilder <TModel> gridBuilder)
 {
     gridBuilderReference = gridBuilder;
 }
Ejemplo n.º 19
0
 public ChemicalListGrid(IGridBuilder <Chemical> gridBuilder,
                         ISessionContext sessionContext,
                         IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
Ejemplo n.º 20
0
 public POFertilizerListGrid(IGridBuilder <Fertilizer> gridBuilder,
                             ISessionContext sessionContext,
                             IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
Ejemplo n.º 21
0
 public POMaterialListGrid(IGridBuilder <Material> gridBuilder,
                           ISessionContext sessionContext,
                           IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
Ejemplo n.º 22
0
 public DocumentListGrid(IGridBuilder <Document> gridBuilder,
                         ISessionContext sessionContext,
                         IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
Ejemplo n.º 23
0
 public PurchaseOrderListGrid(IGridBuilder <PurchaseOrder> gridBuilder,
                              ISessionContext sessionContext,
                              IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
Ejemplo n.º 24
0
 public VendorContactListGrid(IGridBuilder <VendorContact> gridBuilder,
                              ISessionContext sessionContext,
                              IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }
Ejemplo n.º 25
0
 public PurchaseOrderSelectorGrid(IGridBuilder <BaseProduct> gridBuilder,
                                  ISessionContext sessionContext,
                                  IRepository repository)
     : base(gridBuilder, repository, sessionContext)
 {
 }