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

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

Creates a new exporter.
public Exporter ( [ selections, Architecture architecture, [ destination ) : System
selections [ A list of s to check for referenced feeds.
architecture Architecture The target architecture to use for bootstrap binaries.
destination [ The path of the directory to export to.
Результат System
        public Exporter([NotNull] Selections selections, Architecture architecture, [NotNull] string destination)
        {
            #region Sanity checks
            if (selections == null) throw new ArgumentNullException(nameof(selections));
            if (string.IsNullOrEmpty(destination)) throw new ArgumentNullException(nameof(destination));
            #endregion

            _selections = selections;
            _architecture = architecture;
            _destination = destination;

            Directory.CreateDirectory(_destination);
        }

Same methods

Exporter::Exporter ( [ selections, [ requirements, [ destination ) : System