コード例 #1
0
 public AffairAppService(IRepository <Affair> affairRepository,
                         IRepository <AffairWorker> workerRepository,
                         IRepository <AffairTask> taskRepository,
                         IRepository <AffairEvent> eventRepository,
                         IWorkRoleCache workRoleCache,
                         IAffairCache affairCache)
 {
     _affairRepository = affairRepository;
     _workerRepository = workerRepository;
     _taskRepository   = taskRepository;
     _eventRepository  = eventRepository;
     _workRoleCache    = workRoleCache;
     _affairCache      = affairCache;
 }
コード例 #2
0
ファイル: WorkManager.cs プロジェクト: jiangyimin/Clc
        public WorkManager(IWorkerCache workerCache,
                           IVehicleCache vehicleCache,
                           IWorkplaceCache workplaceCache,
                           IWorkRoleCache workRoleCache,
                           IDepotCache depotCache,
                           IArticleCache articleCache,
                           IPostCache postCache,
                           IBoxCache boxCache,
                           IOutletCache outletCache,
                           ISigninCache signinCache,
                           IRepository <Signin> signinRepository,
                           IAffairCache affairCache,
                           IRepository <Affair> affairRepository,
                           IRepository <AffairWorker> affairWorkerRepository,
                           IRepository <AffairTask> affairTaskRepository,
                           IRepository <AffairEvent> affairEventRepository,
                           IRepository <AskDoorRecord> askdoorRepository)
        {
            _workerCache    = workerCache;
            _vehicleCache   = vehicleCache;
            _workplaceCache = workplaceCache;
            _workRoleCache  = workRoleCache;
            _depotCache     = depotCache;
            _articleCache   = articleCache;
            _postCache      = postCache;
            _boxCache       = boxCache;
            _outletCache    = outletCache;

            _signinCache      = signinCache;
            _signinRepository = signinRepository;

            _affairCache            = affairCache;
            _affairRepository       = affairRepository;
            _affairWorkerRepository = affairWorkerRepository;
            _affairTaskRepository   = affairTaskRepository;
            _affairEventRepository  = affairEventRepository;

            _askdoorRepository = askdoorRepository;
        }