Skip to content

Commit 65a2fdf

Browse files
author
Warren Buckley
committed
Some interface & implementation with a single prop to store our dictionary
1 parent 87685a0 commit 65a2fdf

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using Microsoft.AspNetCore.Mvc.TagHelpers.Cache;
2+
using System.Collections.Generic;
3+
4+
namespace Our.Umbraco.TagHelpers.Services
5+
{
6+
public interface IUmbracoTagHelperCacheKeys
7+
{
8+
Dictionary<string, CacheTagKey> CacheKeys { get; set; }
9+
}
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using Microsoft.AspNetCore.Mvc.TagHelpers.Cache;
2+
using System.Collections.Generic;
3+
4+
namespace Our.Umbraco.TagHelpers.Services
5+
{
6+
public class UmbracoTagHelperCacheKeys : IUmbracoTagHelperCacheKeys
7+
{
8+
public Dictionary<string,CacheTagKey> CacheKeys { get; set; } = new Dictionary<string,CacheTagKey>();
9+
}
10+
}

0 commit comments

Comments
 (0)