コード例 #1
0
 public TzNotificationHub(
     ITzChatRepository tzChatRepository,
     IEntityRepository <TzNotification> tzNotification
     )
 {
     this._tzChatRepository = tzChatRepository;
     this._tzNotification   = tzNotification;
 }
コード例 #2
0
ファイル: TzChatHub.cs プロジェクト: XiaoMoDonnie/Blog
 public TzChatHub(ITzChatRepository tzChatRepository)
 {
     this._tzChatRepository = tzChatRepository;
     if (TzChatStatus.OnUserVM == null)
     {
         TzChatStatus.OnUserVM = UserVM;
     }
 }
コード例 #3
0
ファイル: ChatController.cs プロジェクト: XiaoMoDonnie/Blog
        public ChatController(
            UserManager <ApplicationUser> userManager,
            ITzChatRepository tzChatRepository,
            IEntityRepository <ChatRecord> chatRecordRepository,
            IEntityRepository <ChatRecordContent> chatRecordContentRepository

            )
        {
            this._userManager                 = userManager;
            this._tzChatRepository            = tzChatRepository;
            this._chatRecordRepository        = chatRecordRepository;
            this._chatRecordContentRepository = chatRecordContentRepository;
        }