コード例 #1
0
 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);
                         });
 }
コード例 #2
0
 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);
         }
     });
 }
コード例 #3
0
ファイル: Search.cs プロジェクト: jsikorski/Medical-Locator
 public Search(
     ILocationProvider locationProvider,
     ISearchingManager searchingManager,
     CurrentContext currentContext,
     INavigationService navigationService,
     MainPageViewModel mainPageViewModel)
 {
     _locationProvider = locationProvider;
     _searchingManager = searchingManager;
     _currentContext = currentContext;
     _navigationService = navigationService;
     _mainPageViewModel = mainPageViewModel;
 }
コード例 #4
0
 public BusyCommandResult(ICommand command, 
     IBusyScope busyScope)
 {
     _command = command;
     _busyScope = busyScope;
 }
コード例 #5
0
 public BusyCommandResult(ICommand command,
                          IBusyScope busyScope)
 {
     _command   = command;
     _busyScope = busyScope;
 }
コード例 #6
0
ファイル: BusyArea.cs プロジェクト: jsikorski/Medical-Locator
        public BusyArea(IBusyScope busyScope)
        {
            _busyScope = busyScope;

            _busyScope.IsBusy = true;
        }