/// <summary>
 /// 생성자로써 사용되는 객체를 생성, 초기화한다.
 /// </summary>
 /// <param name="list">책 정보 리스트</param>
 public LibraryManagement()
 {
     dBExceptionHandler = new DBExceptionHandler();
     exceptionHandler   = new ExceptionHandler();
     printAboutBooks    = new PrintAboutBooks();
     bookDAO            = new BookDAO();
     bookList           = new List <Book>();
     logDAO             = new LogDAO();
 }
Beispiel #2
0
 public MenuLogic()
 {
     exceptionHandler         = new ExceptionHandler();
     memberManagement         = new MemberManagement();
     printAboutControlMembers = new PrintAboutControlMembers();
     functionInUserMode       = new FunctionInUserMode();
     libraryManagement        = new LibraryManagement();
     printAboutBooks          = new PrintAboutBooks();
     addNewMember             = new AddNewMember();
     bookDAO = new BookDAO();
     logDAO  = new LogDAO();
 }
 public FunctionInUserMode()
 {
     logDAO             = new LogDAO();
     bookDAO            = new BookDAO();
     bookList           = new List <Book>();
     rentalList         = new List <RentalData>();
     rentalDataDAO      = new RentalDataDAO();
     printAboutBooks    = new PrintAboutBooks();
     exceptionHandler   = new ExceptionHandler();
     dBExceptionHandler = new DBExceptionHandler();
     now = DateTime.Now;
 }