예제 #1
0
        protected TaskFileService(DropboxService dropBoxService, ApplicationSettings settings)
        {
            _dropBoxService = dropBoxService;
            Settings        = settings;

            TaskList.CollectionChanged += TaskListCollectionChanged;

            Messenger.Default.Register <ApplicationReadyMessage>(this, message => Start());
            Messenger.Default.Register <NeedCredentialsMessage>(this, message =>
            {
                if (LoadingState == TaskLoadingState.Syncing)
                {
                    LoadingState = TaskLoadingState.Ready;
                }
            });
        }
예제 #2
0
 public ArchiveTaskFileService(DropboxService dropBoxService, ApplicationSettings settings)
     : base(dropBoxService, settings)
 {
 }
 public PrimaryTaskFileService(DropboxService dropBoxService, ApplicationSettings settings)
     : base(dropBoxService, settings)
 {
 }