示例#1
0
        // ---- clear ----

        public void ClearRepository(string repositoryId)
        {
            linkCache.Remove(new string[] { repositoryId });
            typeLinkCache.Remove(new string[] { repositoryId });
            collectionLinkCache.Remove(new string[] { repositoryId });
            templateCache.Remove(new string[] { repositoryId });
            repositoryLinkCache.Remove(new string[] { repositoryId });
        }
示例#2
0
 public void RemoveTypeLinks(string repositoryId, string id)
 {
     typeLinkCache.Remove(new string[] { repositoryId, id });
 }
示例#3
0
 public void Remove(string repositoryId, string typeId)
 {
     cache.Remove(new string[] { repositoryId, typeId });
 }