コード例 #1
0
 public LibraryInformation(LibraryDescription description)
 {
     Name         = description.Identity.Name;
     Path         = description.Path;
     Type         = description.Type;
     Dependencies = description.Dependencies.Select(d => d.Name);
 }
コード例 #2
0
ファイル: LibraryInformation.cs プロジェクト: elanwu123/dnx
 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));
 }
コード例 #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));
 }
コード例 #4
0
ファイル: PublishProject.cs プロジェクト: noahfalk/dnx
 public PublishProject(
     ProjectReferenceDependencyProvider projectReferenceDependencyProvider,
     IProjectResolver projectResolver,
     LibraryDescription libraryDescription)
 {
     _projectReferenceDependencyProvider = projectReferenceDependencyProvider;
     _projectResolver = projectResolver;
     _libraryDescription = libraryDescription;
 }
コード例 #5
0
ファイル: PackPackage.cs プロジェクト: jack4it/KRuntime
 public PackPackage(NuGetDependencyResolver nugetDependencyResolver, LibraryDescription libraryDescription)
 {
     _nugetDependencyResolver = nugetDependencyResolver;
     _libraryDescription = libraryDescription;
 }
コード例 #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)
         }
     };
 }
コード例 #7
0
ファイル: PublishPackage.cs プロジェクト: AlanFrey/dnx
 public PublishPackage(LibraryDescription libraryDescription)
 {
     _libraryDescription = libraryDescription;
 }
コード例 #8
0
ファイル: BundlePackage.cs プロジェクト: nagyistoce/dnx
 public BundlePackage(LibraryDescription libraryDescription)
 {
     _libraryDescription = libraryDescription;
 }