Beispiel #1
0
 public UserManagerWrapper(UserManager <ksUser> userManager, IConfiguration configuration, knotSlackDbContext _context, RoleManager <IdentityRole> roleManager)
 {
     this.userManager   = userManager;
     this.configuration = configuration;
     this.roleManager   = roleManager;
     this._context      = _context;
 }
 public ChannelsController(knotSlackDbContext context, IChannelRepository channelRepository, IUserChannelRepository userChannelRepository, IHttpContextAccessor _httpContextAccessor)
 {
     this._context              = context;
     this.channelRepository     = channelRepository;
     this.userChannelRepository = userChannelRepository;
     this._httpContextAccessor  = _httpContextAccessor;
 }
Beispiel #3
0
 public ChatHub(knotSlackDbContext _context, IUserManager userManager, IMessageRepository messageRepository)
 {
     this._context          = _context;
     this.userManager       = userManager;
     this.messageRepository = messageRepository;
 }
 public UsersController(IUserManager userManager, IChatHub chatHub, knotSlackDbContext _context)
 {
     this.userManager = userManager;
     this.chatHub     = chatHub;
     this._context    = _context;
 }
 public ChannelRepository(knotSlackDbContext _context, IUserManager userManager)
 {
     this._context    = _context;
     this.userManager = userManager;
 }
Beispiel #6
0
 public MessageRepository(knotSlackDbContext _context, IUserChannelRepository userChannelRepository)
 {
     this._context = _context;
     this.userChannelRepository = userChannelRepository;
 }