예제 #1
0
 public MessageController(
     IChatServerService <byte[], byte[]> fileChatServerService,
     IChatServerService <Message, IEnumerable <Message> > dbChatServerService)
 {
     _fileChatServerService = fileChatServerService;
     _dbChatServerService   = dbChatServerService;
 }
 public ChatTweetListViewModel(IRegionManager regionManager, IChatServerService chatServer, IServerState serverState, IResolvePicIndexToUrl resolve) : base(regionManager)
 {
     _Resolve     = resolve;
     _ChatServer  = chatServer;
     _ServerState = serverState;
     Tweets       = new ReactiveCollection <TweetData>();
     ServerName   = new ReactiveProperty <string>();
 }