mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
// --------------------------------------------------------------------------------------------------------------------
|
|
// <copyright file="CachedImage.cs" company="James South">
|
|
// Copyright (c) James South.
|
|
// Licensed under the Apache License, Version 2.0.
|
|
// </copyright>
|
|
// <summary>
|
|
// Describes a cached image
|
|
// </summary>
|
|
// --------------------------------------------------------------------------------------------------------------------
|
|
|
|
namespace ImageProcessor.Web.Caching
|
|
{
|
|
#region Using
|
|
using System;
|
|
#endregion
|
|
|
|
/// <summary>
|
|
/// Describes a cached image
|
|
/// </summary>
|
|
internal sealed class CachedImage
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the key identifying the cached image.
|
|
/// </summary>
|
|
public string Key { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the value of the cached image.
|
|
/// </summary>
|
|
public string Path { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the last write time of the cached image.
|
|
/// </summary>
|
|
public DateTime LastWriteTimeUtc { get; set; }
|
|
}
|
|
}
|
|
|