public MainViewModel()
        {
            _autoCompleteList = new ObservableCollection<string>();

            SearchBarLoadingIndicatorService = new LoadingIndicatorService();
            NavigateBackCommand = new AutomaticCommand(ExecuteNavigateBack, CanExecuteNavigateBack);
            NavigateForwardCommand = new AutomaticCommand(ExecuteNavigateForward, CanExecuteNavigateForward);
            NavigateToHomeCommand = new AutomaticCommand(ExecuteNavigateToHome, CanExecuteNavigateToHome);
            NavigateToSettingsCommand = new AutomaticCommand(ExecuteNavigateToSettings, CanExecuteNavigateToSettings);
            SearchCommand = new AutomaticCommand<string>(ExecuteSearch, CanExecuteSearch);
        }
        public SpotifyWizardPage1()
        {
            InitializeComponent();
            _deferredLoginTimer = new DispatcherTimer();
            _deferredLoginTimer.Interval = TimeSpan.FromMilliseconds(750);
            _deferredLoginTimer.Tick += DeferredLoginTimerOnTick;
            _client = new LoginServiceClient(new InstanceContext(this));

            LoadingIndicator = new LoadingIndicatorService();

            DataContext = this;
        }
 public IncrementDecrementDisposable(LoadingIndicatorService parent)
 {
     _parent = parent;
     _parent.Push();
 }
Esempio n. 4
0
 public IncrementDecrementDisposable(LoadingIndicatorService parent)
 {
     _parent = parent;
     _parent.Push();
 }