添加项目文件。
This commit is contained in:
14
TightWiki.Models/DataModels/ImageCacheItem.cs
Normal file
14
TightWiki.Models/DataModels/ImageCacheItem.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace TightWiki.Models.DataModels
|
||||
{
|
||||
public partial class ImageCacheItem
|
||||
{
|
||||
public string ContentType { get; set; } = string.Empty;
|
||||
public byte[] Bytes { get; set; }
|
||||
|
||||
public ImageCacheItem(byte[] bytes, string contentType)
|
||||
{
|
||||
Bytes = bytes;
|
||||
ContentType = contentType;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user