Пример #1
0
		public MainPageVm(IApplicationWebService iWebService, IInternalModelService iService)
		{
			modIWebService = iWebService;
			modIInternalService = iService;
			LoginVkCommand = new AsyncCommand(OnLoginVkCommand);
			LoginTwitterCommand = new AsyncCommand(OnLoginTwitterCommand);
		}
		public PageDialogWithFriendVm(IApplicationWebService iWebService)
		{
			modIWebService = iWebService;
			SendMessageCommand = new AsyncCommand(OnSendMessageCommand, () => { return !String.IsNullOrWhiteSpace(Message); });
		}
		public PageUserDialogsVm(IApplicationWebService iWebService)
		{
			modIWebService = iWebService;
			ShowUserFriendsCommand = new AsyncCommand(OnShowUserFriendsCommand);
		}
		protected AdvancedPageViewModelBase()
		{
			mvBackCommand = new AsyncCommand(OnBackCommand);
		}
Пример #5
0
		public PageUserDialogsVm(IApplicationWebService iWebService)
		{
			modIWebService = iWebService;
			AddNewDialogCommand = new AsyncCommand(OnAddNewDialogCommand);
			RefreshDialogList = new AsyncCommand(OnRefreshDialogList);
		}