public CacheService(IMemoryCache cache, ILibraryStore libraryStore, ILogger <CacheService> logger) { this._cache = cache; this.libraryStore = libraryStore; this.logger = logger; InitTimer(); }
public SaveCommand(Library library, ILibraryStore store) { Ensure.NotNull(library, "library"); Ensure.NotNull(store, "store"); this.library = library; this.store = store; }
public AppNavigator(App application, ILibraryStore store, IChangeTracker changeTracker) { Ensure.NotNull(application, "application"); Ensure.NotNull(store, "store"); Ensure.NotNull(changeTracker, "changeTracker"); this.application = application; this.store = store; this.changeTracker = changeTracker; }
public MainViewModel(Library library, INavigator navigator, ILibraryStore store, IChangeTracker changeTracker) : base(library) { Ensure.NotNull(navigator, "navigator"); Ensure.NotNull(changeTracker, "changeTracker"); changeTracker.Added += () => HasChange = true; changeTracker.Cleared += () => HasChange = false; Create = new DelegateCommand(() => navigator.CreateMovieAsync(library)); Edit = new EditMovieCommand(library, navigator); Delete = new DeleteMovieCommand(library.Movies, navigator, changeTracker); Save = new SaveCommand(library, store); OpenConfiguration = new DelegateCommand(() => navigator.LibraryConfigurationAsync(library)); }
public LibraryController(IFileHelper fileHelper, ILibraryStore libraryStore) { _fileHelper = fileHelper; _libraryStore = libraryStore; }
public TrackController(ILibraryStore libraryStore, IPodcastStore podcastStore) { _libraryStore = libraryStore; _podcastStore = podcastStore; }
public LibraryController(ICacheService cacheService, ILibraryStore libraryStore) { this._cacheService = cacheService; this._libraryStore = libraryStore; }
public LibraryManager(ILibraryStore store) { _store = store; }