public AuthorizationViewModel(IClientManager manager) { _manager = manager; Login = new LoginViewModel(manager); Signup = new SignupViewModel(manager); ServerStateLine = new ServerStateLineViewModel(manager); }
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); }