コード例 #1
0
 public CategoryLogic(ICategoryDAO categoryDAO, ISQLDAO dao, ILoggerIO log)
 {
     logs         = log;
     categoryData = categoryDAO;      //injecting dependency
     categoryData.GetDataWriter(dao); //dependency injector through a infrastructure
 }