/// <summary> /// LogicContext /// </summary> public LogicContext() { db = new DatabaseContext(); db.Database.Log = AppendLog; client = new HttpClient(); IndexCalendar = new IndexCalendarLogic { Db = this.db, Client = this.client }; }
/// <summary> /// LogicContext /// </summary> public LogicContext() { db = new DatabaseContext(); db.Database.Log = AppendLog; client = new HttpClient(); //各ロジックを生成 Base = new BaseLogic { Db = db }; StockMaster = new StockMasterLogic { Db = this.db, Client = this.client }; IndexData = new IndexCalendarLogic { Db = this.db, Client = this.client }; }