ZeroInstall.Commands.Utils.Exporter.DeployBootstrapIntegrate C# (CSharp) Метод

DeployBootstrapIntegrate() публичный Метод

Deploys a bootstrap file for importing exported feeds and implementations.
public DeployBootstrapIntegrate ( [ handler ) : void
handler [ A callback object used when the the user needs to be asked questions or informed about download and IO tasks.
Результат void
        public void DeployBootstrapIntegrate([NotNull] ITaskHandler handler)
        {
            #region Sanity checks
            if (handler == null) throw new ArgumentNullException(nameof(handler));
            #endregion

            DeployBootstrap(handler, mode: "integrate");
        }

Usage Example

Пример #1
0
        public void DownloadPackage(string fastPackageReference, string location)
        {
            var requirements = ParseReference(fastPackageReference);
            var selections = Solve(requirements);
            Fetcher.Fetch(SelectionsManager.GetUncachedImplementations(selections));

            var exporter = new Exporter(selections, requirements, location);
            exporter.ExportFeeds(FeedCache, OpenPgp);
            exporter.ExportImplementations(Store, Handler);
            exporter.DeployImportScript();
            exporter.DeployBootstrapIntegrate(Handler);

            Yield(requirements);

            SelfUpdateCheck();
        }
All Usage Examples Of ZeroInstall.Commands.Utils.Exporter::DeployBootstrapIntegrate