Exemple #1
0
 public ChatHub(IObjectMapper mapper,
                IMeetingRoomManager meetingRoomManager,
                IOnlineMeetingRoomManager onlineMeetingRoomManager)
 {
     _mapper                   = mapper;
     _meetingRoomManager       = meetingRoomManager;
     _onlineMeetingRoomManager = onlineMeetingRoomManager;
 }
 /// <summary>
 /// 构造函数
 ///</summary>
 public MeetingRoomAppService(
     IRepository <MeetingRoom, int> meetingroomRepository
     , IMeetingRoomManager meetingroomManager
     , IRepository <Meeting, Guid> meetingRepository
     )
 {
     _meetingroomRepository = meetingroomRepository;
     _meetingroomManager    = meetingroomManager;
     _meetingRepository     = meetingRepository;
 }
 public MeetingController(IMeetingRoomManager meetingRoomManager,
                          IOnlineMeetingRoomManager onlineMeetingRoomManager)
 {
     _meetingRoomManager       = meetingRoomManager;
     _onlineMeetingRoomManager = onlineMeetingRoomManager;
 }