public ViewFactory(IBreadcrumbFactory breadcrumbFactory, ILeftNavFactory leftNavFactory, ITopNavFactory topNavFactory, ITableFactory tableFactory) { _breadcrumbFactory = breadcrumbFactory; _leftNavFactory = leftNavFactory; _topNavFactory = topNavFactory; _tableFactory = tableFactory; }
public ITableTask AddTask(ITableFactory tableFactory, TaskText taskText) { var task = tableFactory.NewTask(this, taskText); Tasks.Add(task); return(task); }
public void GetTableData(MySqlResponseData data) { ITableFactory table = null; switch (data.TableName.ToLower()) { case "wf_workflowtask": table = new WorkFlowTaskBLL(); break; case "b_applyrelation": table = new ApplyRelationBLL(); break; case "b_applyinstance": table = new ApplyInstanceBLL(); break; default: break; } if (table != null) { table.DataAnalysis(data); } }
public ModelVerification(IEntityTypeRepository typeRepository, ITableFactory tableFactory, int tolerance) { _tolerance = tolerance; _tableFactory = tableFactory; NameSpacesToIgnore = Enumerable.Empty <string>(); _typeRepository = typeRepository; }
public ModelContext(ITableFactory factory) { tables = new Dictionary <Type, ITable>(); InitializeTable <Action>(factory); InitializeTable <Task>(factory); InitializeTable <User>(factory); }
public RestaurantController(IFoodFactory foodFactory, IDrinkFactory drinkFactory, ITableFactory tableFactory) { this.menu = new List <IFood>(); this.drinks = new List <IDrink>(); this.tables = new List <ITable>(); this.foodFactory = foodFactory; this.drinkFactory = drinkFactory; this.tableFactory = tableFactory; }
public RestaurantController( ) { tables = new List <ITable>(); menu = new List <IFood>(); drinks = new List <IDrink>(); foodFactory = new FoodFactory(); drinkFactory = new DrinkFactory(); tableFactory = new TableFactory(); }
public RestaurantController() { this.menu = new List <IFood>(); this.drinks = new List <IDrink>(); this.tables = new List <ITable>(); this.foodFactory = new FoodFactory(); this.drinkFactory = new DrinkFactory(); this.tableFactory = new TableFactory(); this.totalIncome = 0; }
public WordDocumentRepository( IWordKiller wordKiller, IExternalHyperLinkFactory externalHyperLinkFactory, IWordFactory wordFactory, ITableFactory tableFactory, IShapeFactory shapeFactory, IListFactory listFactory, ISectionsFactory sectionsFactory) { _wordKiller = wordKiller; _externalHyperLinkFactory = externalHyperLinkFactory; _wordFactory = wordFactory; _tableFactory = tableFactory; _listFactory = listFactory; _sectionsFactory = sectionsFactory; _shapeFactory = shapeFactory; }
public TableService(ITableFactory factory, ITableRepository repository) { tableFactory = factory; tableRepository = repository; }
/// <summary> /// ctor /// </summary> /// <param name="tablesBuilder"></param> public RestaurantService(IWaitingClientsQueueService waitingClientsQueue, ITableFactory tableFactory) { this.waitingClientsQueue = waitingClientsQueue; this.restManager = new RestManager(tableFactory.CreateTables(), this.waitingClientsQueue); }
public TableManager(ITableFactory factory) { this.factory = factory; }
public CreateTableCommandHandler(ITableRepository tableRepository, ITableFactory tableFactory) { this.TableRepository = tableRepository; this.TableFactory = tableFactory; }
private void InitializeTable <T> (ITableFactory factory) where T : Data <T> { var table = factory.CreateTable <T>(); tables.Add(typeof(T), table); }
protected Table(ITableFactory factory, ITableConventions conventions) { Factory = factory; Conventions = conventions; }
public MarkdownFunctionsService(ITableFactory tableFactory) { _tableFactory = tableFactory; }