Exemplo n.º 1
0
 public LibraryInformation(LibraryDescription description)
 {
     Name         = description.Identity.Name;
     Path         = description.Path;
     Type         = description.Type;
     Dependencies = description.Dependencies.Select(d => d.Name);
 }
Exemplo 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));
 }
Exemplo 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));
 }
Exemplo n.º 4
0
 public PublishProject(
     ProjectReferenceDependencyProvider projectReferenceDependencyProvider,
     IProjectResolver projectResolver,
     LibraryDescription libraryDescription)
 {
     _projectReferenceDependencyProvider = projectReferenceDependencyProvider;
     _projectResolver = projectResolver;
     _libraryDescription = libraryDescription;
 }
Exemplo n.º 5
0
 public PackPackage(NuGetDependencyResolver nugetDependencyResolver, LibraryDescription libraryDescription)
 {
     _nugetDependencyResolver = nugetDependencyResolver;
     _libraryDescription = libraryDescription;
 }
Exemplo 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)
         }
     };
 }
Exemplo n.º 7
0
 public PublishPackage(LibraryDescription libraryDescription)
 {
     _libraryDescription = libraryDescription;
 }
Exemplo n.º 8
0
 public BundlePackage(LibraryDescription libraryDescription)
 {
     _libraryDescription = libraryDescription;
 }