コード例 #1
0
 public FriendsController(IUnitOfWork unitOfWork,
                          SignInManager <AppUser> signInManager,
                          IFriendsManager friendsManager,
                          IChatsManager chatsManager)
 {
     _unitOfWork     = unitOfWork;
     _signInManager  = signInManager;
     _friendsManager = friendsManager;
     _chatsManager   = chatsManager;
 }
コード例 #2
0
ファイル: ChatHub.cs プロジェクト: sh4dow433/ChatApplication
 public ChatHub(IChatsManager chatsManager,
                IConnectionsManager connectionsManager,
                SignInManager <AppUser> signInManager,
                IMapper mapper,
                IUnitOfWork unitOfWork)
 {
     _chatsManager      = chatsManager;
     _connectionManager = connectionsManager;
     _signInManager     = signInManager;
     _mapper            = mapper;
     _unitOfWork        = unitOfWork;
 }
コード例 #3
0
 public ChatsController(
     IChatsManager chatsManager,
     SignInManager <AppUser> signInManager,
     UserManager <AppUser> userManager,
     IUnitOfWork unitOfWork,
     IMapper mapper)
 {
     _chatsManager  = chatsManager;
     _signInManager = signInManager;
     _userManager   = userManager;
     _unitOfWork    = unitOfWork;
     _mapper        = mapper;
 }