public AddReferenceHelperItem GetItem(string path) { return(Cache.With(x => { AddReferenceHelperItem item = null; x.TryGetValue(path, out item); return item; })); }
public void AddItem(AddReferenceHelperItem item) { if (Cache == null) { Cache = new Dictionary <string, AddReferenceHelperItem>(); } Cache[item.Solution] = item; }