/// <summary> /// Constructs the <see cref="IconCacheService"/>. /// </summary> public IconCacheService(UIService ui, BitmapFactory bitmapFactory) { this.ui = ui; this.bitmapFactory = bitmapFactory; cachedIcons = new Dictionary <int, ImageSource>(); cachedSpecialFolders = new Dictionary <Environment.SpecialFolder, IconAndName>(); cachedFileTypes = new Dictionary <string, IconAndName>(); cachedIconList = new ObservableCollection <ImageSource>(); }
/// <summary> /// Constructs the <see cref="BitmapFactory"/>. /// </summary> public BitmapFactory(UIService ui) { this.ui = ui; }