public DefaultRailsEditViewFactoryBase( IRailsIndexViewFactory <UIElement> railsIndexViewFactory, IRailsEditViewModelFactory <Binding> railsEditViewModelFactory, IGridService gridService) : base(railsIndexViewFactory, railsEditViewModelFactory, gridService) { }
protected DefaultRailsEditViewFactoryBase( IRailsIndexViewFactory railsIndexViewFactory, IRailsEditViewModelFactory railsEditViewModelFactory, IGridService gridService) : base(railsIndexViewFactory, railsEditViewModelFactory, gridService) { }
public static IRailsIndexViewFactory Resolve( this IRailsIndexViewFactory factory, IRailsEditViewFactory editViewFactory = null, IRailsEditViewModelFactory railsEditViewModelFactory = null, IGridService gridService = null) { return(factory ?? new DefaultRailsIndexViewFactory(editViewFactory, railsEditViewModelFactory, gridService)); }
public DefaultRailsEditViewFactory( IRailsIndexViewFactory railsIndexViewFactory = null, IRailsEditViewModelFactory railsEditViewModelFactory = null, IGridService gridService = null) : base( railsIndexViewFactory.Resolve(), railsEditViewModelFactory.Resolve(), gridService.Resolve()) { }
protected DefaultRailsEditViewFactoryBase( IRailsIndexViewFactory <TViewControl> railsIndexViewFactory, IRailsEditViewModelFactory <TBinding> railsEditViewModelFactory, IGridService <TGrid, TViewControl> gridService) { this.RailsIndexViewFactory = railsIndexViewFactory; this.RailsEditViewModelFactory = railsEditViewModelFactory; this.GridService = gridService; this.RailsBindCreator = this.RailsEditViewModelFactory.RailsBindCreator; }
public static IRailsEditViewFactory Resolve(this IRailsEditViewFactory factory, IRailsIndexViewFactory indexFactory = null) { return(factory ?? new DefaultRailsEditViewFactory(indexFactory)); }