using System;
using System.Net;
using System.Windows.Media.Imaging;

namespace WPImageCaching
{
    //Beinhaltet die Informationen eines Bildes
    internal class ImageCacheItem
    {
        public string LocalFilename { get; set; }
        public string ImageID { get; set; }
        public DateTime Expiration { get; set; }
    }

    //Hilfsklasse für den asynchronen Aufruf
    internal class AsyncDataTransfer
    {
        public HttpWebRequest WebRequest { get; set; }
        public BitmapImage Image { get; set; }
        public ImageCacheItem Item { get; set; }
    }
}
