コード例 #1
0
 public FindlogininfoViewModel(Imessanger imessanger)
 {
     messenger = imessanger.GetMessenger(ResponseMessage);
     Findinfo  = new ObservableCollection <Finddata>();
     id        = string.Empty;
     phone     = string.Empty;
 }
コード例 #2
0
 public ChangeroomnameViewModel(Imessanger imessanger)
 {
     messenger       = imessanger.GetMessenger(ResponseMessage);
     Chatnumber      = 0;
     _Roomchangename = string.Empty;
     Usernickname    = string.Empty;
 }
コード例 #3
0
 public JoinChatViewModel(Imessanger imessanger)
 {
     messenger    = imessanger.GetMessenger(ResponseMessage);
     joinchatid   = string.Empty; // 초대할아이디
     Chatnumber   = 0;
     Usernickname = string.Empty;
     _imessanger  = imessanger;
 }
コード例 #4
0
 public MainViewModel(Imessanger imessanger)
 {
     messenger      = imessanger.GetMessenger(ResponseMessage);
     usernickname   = messenger.userdata.nickname;
     _Selectlist    = new ObservableCollection <Frienddata>();
     _Friendlist    = new ObservableCollection <Frienddata>();
     chatViewModels = new List <ChatViewModel>();
     fcnt           = 0;
     _imessanger    = imessanger;
 }
コード例 #5
0
        public ChatViewModel(Imessanger imessanger)
        {
            messenger   = imessanger.GetMessenger(ResponseMessage);
            Messages    = new ObservableCollection <Chatdata>();
            _Friendlist = new ObservableCollection <Frienddata>();

            joinChatViewModels       = new List <JoinChatViewModel>();
            changeroomnameViewModels = new List <ChangeroomnameViewModel>();
            Chatnumber   = 0;
            Usernickname = string.Empty;
            _imessanger  = imessanger;
            jsonHelp     = new JsonHelp();
        }
コード例 #6
0
 public JoinViewModel(Imessanger imessanger)
 {
     messengerClient = imessanger.GetMessenger(ResponseMessage);
 }
コード例 #7
0
 public LoginViewModel(Imessanger imessanger)
 {
     messenger = imessanger.GetMessenger(ResponseMessage);
     ID        = string.Empty;
 }
コード例 #8
0
 public PlusfriendViewModel(Imessanger imessanger)
 {
     messanger   = imessanger.GetMessenger(ResponseMessage);
     _Friendlist = new ObservableCollection <Frienddata>();
 }
コード例 #9
0
 public BlockfriendViewModel(Imessanger imessanger)
 {
     messenger   = imessanger.GetMessenger(ResponseMessage);
     _blockid    = string.Empty;
     _Friendlist = new ObservableCollection <Frienddata>();
 }