public AuthorizationViewModel(IClientManager manager)
 {
     _manager        = manager;
     Login           = new LoginViewModel(manager);
     Signup          = new SignupViewModel(manager);
     ServerStateLine = new ServerStateLineViewModel(manager);
 }
예제 #2
0
 public ChatGridViewModel(IClientManager manager)
 {
     _manager = manager;
     MyProfile = new MyProfileModel(manager);
     ServerStateLine = new ServerStateLineViewModel(manager);
     EditChatLine = new EditChatLineViewModel(manager);
     //MessagesFeed = new MessagesFeedViewModel(manager);
     MyProfileLine = new ProfileLineViewModel(manager)
     {
         ProfileModel = MyProfile.MyProfile
     };
     ChatCollection = new ChatCollectionViewModel(manager, MyProfile.Chats);
 }