예제 #1
0
 public GenericTaskService(IDAO <TaskDefinition, int> taskDefinitionDAO, ITaskDAO taskDAO, IRoleDAO roleDAO, INoiseProtectionDAO noiseProtectionDAO)
 {
     _taskDefinitionDAO  = taskDefinitionDAO;
     _taskDAO            = taskDAO;
     _roleDAO            = roleDAO;
     _noiseProtectionDAO = noiseProtectionDAO;
 }
 public RotationTaskService(IRotationDAO rotationDAO, ITaskDAO taskDAO, ITaskDefinitionDAO taskDefinitionDAO, IRoleDAO roleDAO)
 {
     _rotationDAO       = rotationDAO;
     _taskDAO           = taskDAO;
     _taskDefinitionDAO = taskDefinitionDAO;
     _roleDAO           = roleDAO;
 }
예제 #3
0
        static DependencyResolver()
        {
            _userDAO        = new UserDAO();
            _authDAO        = new AuthDAO();
            _roleDAO        = new RoleDAO();
            _fileDAO        = new FileDAO();
            _filestorageDAO = new FTPFileStorageDAO();

            _userLogic        = new UserLogic(_userDAO);
            _authLogic        = new AuthLogic(_authDAO);
            _roleLogic        = new RoleLogic(_roleDAO);
            _fileLogic        = new FileLogic(_fileDAO);
            _filestorageLogic = new FileStorageLogic(_filestorageDAO);
            _filemanager      = new FileManager(_fileDAO, _filestorageDAO);
        }
예제 #4
0
 public RoleBL(IRoleDAO roleDAO)
 {
     _roleDAO = roleDAO;
 }
예제 #5
0
파일: DAO.cs 프로젝트: ioweh/epamtest
 public DAO(string connectionString)
 {
     NoteAccess = new MSQLNoteDAO(connectionString);
     UserAccess = new MSQLUserDAO(connectionString);
     RoleAccess = new MSQLRoleDAO(connectionString);
 }
예제 #6
0
 public RoleLogic(IRoleDAO roleDAO)
 {
     _roleDAO = roleDAO;
 }
예제 #7
0
파일: DAO.cs 프로젝트: ioweh/epamtest
 public DAO(string connectionString)
 {
     NoteAccess = new MSQLNoteDAO(connectionString);
     UserAccess = new MSQLUserDAO(connectionString);
     RoleAccess = new MSQLRoleDAO(connectionString);
 }
예제 #8
0
 public UserBL(IUserDAO userDAO, IRoleDAO roleDAO)
 {
     _userDAO = userDAO;
     _roleDAO = roleDAO;
 }