public static void InvokeBusy(ICommand command, IBusyScope busyScope, Action<Exception> onCompleted = null) { busyScope.IsBusy = true; Invoke(command, exception => { busyScope.IsBusy = false; if (onCompleted != null) onCompleted(exception); }); }
public static void InvokeBusy(ICommand command, IBusyScope busyScope, Action <Exception> onCompleted = null) { busyScope.IsBusy = true; Invoke(command, exception => { busyScope.IsBusy = false; if (onCompleted != null) { onCompleted(exception); } }); }
public Search( ILocationProvider locationProvider, ISearchingManager searchingManager, CurrentContext currentContext, INavigationService navigationService, MainPageViewModel mainPageViewModel) { _locationProvider = locationProvider; _searchingManager = searchingManager; _currentContext = currentContext; _navigationService = navigationService; _mainPageViewModel = mainPageViewModel; }
public BusyCommandResult(ICommand command, IBusyScope busyScope) { _command = command; _busyScope = busyScope; }
public BusyArea(IBusyScope busyScope) { _busyScope = busyScope; _busyScope.IsBusy = true; }