Example #1
0
 public Assembly
 (
     string name,
     string description,
     string homepage,
     AssemblyRepository repository,
     Person author,
     string fingerprint,
     string version,
     string license,
     AssemblyTargets targets = null,
     IDictionary <string, PackageVersion> dependencies = null,
     Person[] contributors = null,
     IDictionary <string, string> bundled = null,
     IDictionary <string, Type> types     = null,
     Docs docs     = null,
     Readme readme = null
 ) : base(targets, dependencies)
 {
     Name         = name ?? throw new ArgumentNullException(nameof(name));
     Description  = description ?? throw new ArgumentNullException(nameof(description));
     Homepage     = homepage ?? throw new ArgumentNullException(nameof(homepage));
     Repository   = repository ?? throw new ArgumentNullException(nameof(repository));
     Author       = author ?? throw new ArgumentNullException(nameof(author));
     Fingerprint  = fingerprint ?? throw new ArgumentNullException(nameof(fingerprint));
     Version      = version ?? throw new ArgumentNullException(nameof(version));
     License      = license ?? throw new ArgumentNullException(nameof(license));
     Contributors = contributors;
     Bundled      = bundled;
     Types        = types;
     Docs         = docs;
     Readme       = readme;
 }
Example #2
0
 public DependencyRoot
 (
     AssemblyTargets targets = null,
     IDictionary <string, PackageVersion> dependencies = null
 )
 {
     Targets      = targets;
     Dependencies = dependencies;
 }
Example #3
0
 public PackageVersion
 (
     string version,
     AssemblyTargets targets = null,
     IDictionary <string, PackageVersion> dependencies = null
 ) : base(targets, dependencies)
 {
     Version = version ?? throw new ArgumentNullException(nameof(version));
 }