public UiModel( ImageLoader imageLoader, ImageRepository imageRepo, CardRepository cardRepo, UiConfigRepository uiConfigRepository, [Optional, Named("collection")] ICardCollection collection) { UIConfigRepository = uiConfigRepository; CardRepo = cardRepo; Collection = collection; ImageLoader = imageLoader; ImageRepo = imageRepo; LanguageController = new LanguageController(CardLocalization.DefaultLanguage); }
public ImageLoader(UiConfigRepository configRepository) { _configRepository = configRepository; Dpi.Changed += ClearCache; }