Open Source Web Application Framework for ASP.NET Core
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.
 
 
 
 
 
 

23 lines
487 B

using JetBrains.Annotations;
using System;
using Volo.Abp;
namespace Volo.CmsKit.Blogs;
public class BlogFeatureCacheKey
{
public BlogFeatureCacheKey(Guid id, [NotNull] string featureName)
{
Id = id;
FeatureName = Check.NotNullOrEmpty(featureName, nameof(featureName));
}
public Guid Id { get; set; }
public string FeatureName { get; set; }
public override string ToString()
{
return $"BlogFeature_{Id}_{FeatureName}";
}
}