ZeroInstall.BootstrapProcess.ImportFeeds C# (CSharp) Method

ImportFeeds() private method

Imports bundled feeds and GnuPG keys.
private ImportFeeds ( ) : void
return void
        private void ImportFeeds()
        {
            if (!Directory.Exists(_contentDir)) return;

            foreach (string path in Directory.GetFiles(_contentDir, "*.xml"))
            {
                try
                {
                    FeedManager.ImportFeed(path);
                }
                    #region Error handling
                catch (ReplayAttackException)
                {
                    Log.Info("Ignored feed because a newer version is already in cache");
                }
                #endregion
            }
        }