public static UpdaterConfiguration Http(this UpdaterSourceConfiguration updaterSourceConfiguration, Uri uri)
        {
            if (updaterSourceConfiguration == null)
            {
                throw new ArgumentNullException(nameof(updaterSourceConfiguration));
            }
            if (uri == null)
            {
                throw new ArgumentNullException(nameof(uri));
            }

            return(updaterSourceConfiguration.AddUpdateProvider(new HttpSource(uri)));
        }
Ejemplo n.º 2
0
 public UpdaterConfiguration()
 {
     UpdateFrom = new UpdaterSourceConfiguration(this, u => updateProviders.Add(u), ApplyInheritedConfiguration);
 }