Esempio n. 1
0
 public LibraryInformation(LibraryDescription description)
 {
     Name         = description.Identity.Name;
     Path         = description.Path;
     Type         = description.Type;
     Dependencies = description.Dependencies.Select(d => d.Name);
 }
Esempio n. 2
0
 public LibraryInformation(LibraryDescription description)
 {
     Name = description.Identity.Name;
     Version = description.Identity.Version?.ToString();
     Path = description.Path;
     Type = description.Type;
     Dependencies = description.Dependencies.Select(d => d.Name);
     LoadableAssemblies = description.LoadableAssemblies.Select(a => new AssemblyName(a));
 }
Esempio n. 3
0
 public LibraryInformation(LibraryDescription description)
 {
     Name               = description.Identity.Name;
     Version            = description.Identity.Version?.ToString();
     Path               = description.Path;
     Type               = description.Type;
     Dependencies       = description.Dependencies.Select(d => d.Name);
     LoadableAssemblies = description.LoadableAssemblies.Select(a => new AssemblyName(a));
 }
Esempio n. 4
0
 public PublishProject(
     ProjectReferenceDependencyProvider projectReferenceDependencyProvider,
     IProjectResolver projectResolver,
     LibraryDescription libraryDescription)
 {
     _projectReferenceDependencyProvider = projectReferenceDependencyProvider;
     _projectResolver = projectResolver;
     _libraryDescription = libraryDescription;
 }
Esempio n. 5
0
 public PackPackage(NuGetDependencyResolver nugetDependencyResolver, LibraryDescription libraryDescription)
 {
     _nugetDependencyResolver = nugetDependencyResolver;
     _libraryDescription = libraryDescription;
 }
Esempio n. 6
0
 private static LibraryDependency CreateDependency(LibraryDescription libraryDescription)
 {
     return new LibraryDependency
     {
         LibraryRange = new LibraryRange
         {
             Name = libraryDescription.Identity.Name,
             IsGacOrFrameworkReference = libraryDescription.Identity.IsGacOrFrameworkReference,
             VersionRange = new SemanticVersionRange(libraryDescription.Identity.Version)
         }
     };
 }
Esempio n. 7
0
 public PublishPackage(LibraryDescription libraryDescription)
 {
     _libraryDescription = libraryDescription;
 }
Esempio n. 8
0
 public BundlePackage(LibraryDescription libraryDescription)
 {
     _libraryDescription = libraryDescription;
 }