public IChocolateyFeed Create(ChocolateySource source) { if (this._feedCache.ContainsKey(source)) { return(this._feedCache[source]); } var client = new ChocolateyFeedClient(source.Location) { IgnoreMissingProperties = true, MergeOption = MergeOption.NoTracking }; var feed = new ChocolateyFeed(client, source, this._installedPackages); this._feedCache.Add(source, feed); return(feed); }
public IChocolateyFeed Create(ChocolateySource source) { if(this._feedCache.ContainsKey(source)) { return this._feedCache[source]; } var client = new ChocolateyFeedClient(source.Location) { IgnoreMissingProperties = true, MergeOption = MergeOption.NoTracking }; var feed = new ChocolateyFeed(client, source, this._installedPackages); this._feedCache.Add(source, feed); return feed; }