public KeyValuePair<string,string>[] SearchInMetadata(Func<string,string,bool> predicate) { KeyValuePair<string, string>[] ret = null; using (var searcher = new CacheEntryMetadataSearcher(predicate)) { _cacheEntryDescriptor.VisitMetaData(searcher); ret = searcher.GetResult(); } return ret; }
public KeyValuePair <string, string>[] GetAllMetadata() { KeyValuePair <string, string>[] ret = null; using (var searcher = new CacheEntryMetadataSearcher((x, y) => true)) { _cacheEntryDescriptor.VisitMetaData(searcher); ret = searcher.GetResult(); } return(ret); }
public KeyValuePair<string,string>[] SearchInMetadata(BaseTypes.Func<string,string,bool> predicate) { KeyValuePair<string, string>[] ret = null; using (var searcher = new CacheEntryMetadataSearcher(predicate)) { _cacheEntryDescriptor.VisitMetaData(searcher); ret = searcher.GetResult(); } return ret; }
public KeyValuePair<string, string>[] GetAllMetadata() { KeyValuePair<string, string>[] ret = null; using (var searcher = new CacheEntryMetadataSearcher((x, y) => true)) { _cacheEntryDescriptor.VisitMetaData(searcher); ret = searcher.GetResult(); } return ret; }