GMap.NET.Core/GMap.NET.Internals/CacheQueueItem.cs
(完整代码) 761B
namespace GMap.NET.Internals
{
using System.IO;
using System;
/// <summary>
/// cache queue item
/// </summary>
internal struct CacheQueueItem
{
public RawTile Tile;
public byte[] Img;
public CacheUsage CacheType;
public CacheQueueItem(RawTile tile, byte[] Img, CacheUsage cacheType)
{
this.Tile = tile;
this.Img = Img;
this.CacheType = cacheType;
}
public override string ToString()
{
return Tile + ", CacheType:" + CacheType;
}
public void Clear()
{
Img = null;
}
}
internal enum CacheUsage
{
First = 2,
Second = 4,
Both = First | Second
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
