// ---- 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 }); }
public void RemoveTypeLinks(string repositoryId, string id) { typeLinkCache.Remove(new string[] { repositoryId, id }); }
public void Remove(string repositoryId, string typeId) { cache.Remove(new string[] { repositoryId, typeId }); }