示例#1
0
 public SchoolChatHub(VSContext context)
 {
     db = context;
 }
示例#2
0
 public IndexModel(ILogger <IndexModel> logger, VSContext db)
 {
     _logger = logger;
     _db     = db;
 }
示例#3
0
 public NewsModel(VSContext context)
 {
     db = context;
 }
示例#4
0
 public RecoverHub(VSContext context, CodeService cService, EmailService eService)
 {
     db           = context;
     codeService  = cService;
     emailService = eService;
 }
 public PersonalChatModel(VSContext context, UserService uService)
 {
     db          = context;
     userService = uService;
 }
示例#6
0
 public ChatroomModel(VSContext context, UserService uService)
 {
     db          = context;
     userService = uService;
 }
示例#7
0
 public NewsPageModel(VSContext context, UserService uService)
 {
     db          = context;
     userService = uService;
 }
示例#8
0
 public PersonalChatHub(VSContext context)
 {
     db = context;
 }
示例#9
0
 public AdminModel(VSContext context, DateService dService)
 {
     db          = context;
     dateService = dService;
 }
 private VisualStudioContext(VSContext vSContext)
 {
     _context = vSContext;
 }
 private static VSContext SetFlag(VSContext existing, VSContext context, bool isSet)
 {
     return(isSet ? (existing | context) : (existing & ~context));
 }
示例#12
0
 public RegModel(VSContext context, HashService hService, UserService uService)
 {
     db          = context;
     hashService = hService;
     userService = uService;
 }
示例#13
0
 public NewPassModel(VSContext context, HashService hService)
 {
     db          = context;
     hashService = hService;
 }
示例#14
0
 public AdminHub(VSContext context)
 {
     db = context;
 }
示例#15
0
 public ForgotModel(VSContext context)
 {
     db = context;
 }
示例#16
0
 public AuthModel(VSContext context, HashService hService)
 {
     db          = context;
     hashService = hService;
 }