using Microsoft.Extensions.Caching.Memory;

namespace dotnetCHARTING.NET10.Services
{
    #region snippet
    // using Microsoft.Extensions.Caching.Memory;
    public class MyMemoryCache 
    {
        public MemoryCache Cache { get; private set; }
        public MyMemoryCache()
        {
            Cache = new MemoryCache(new MemoryCacheOptions
            {
                SizeLimit = 1024
            });
        }
    }
    #endregion
}
