Esempio n. 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;
 }
Esempio n. 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);
        }
Esempio n. 4
0
 public RoleBL(IRoleDAO roleDAO)
 {
     _roleDAO = roleDAO;
 }
Esempio n. 5
0
 public DAO(string connectionString)
 {
     NoteAccess = new MSQLNoteDAO(connectionString);
     UserAccess = new MSQLUserDAO(connectionString);
     RoleAccess = new MSQLRoleDAO(connectionString);
 }
Esempio n. 6
0
 public RoleLogic(IRoleDAO roleDAO)
 {
     _roleDAO = roleDAO;
 }
Esempio n. 7
0
 public DAO(string connectionString)
 {
     NoteAccess = new MSQLNoteDAO(connectionString);
     UserAccess = new MSQLUserDAO(connectionString);
     RoleAccess = new MSQLRoleDAO(connectionString);
 }
Esempio n. 8
0
 public UserBL(IUserDAO userDAO, IRoleDAO roleDAO)
 {
     _userDAO = userDAO;
     _roleDAO = roleDAO;
 }