Ejemplo n.º 1
0
 public Library(string libraryType, string packageName, string version, string hash, Dependency[] dependencies, bool serviceable)
 {
     LibraryType = libraryType;
     PackageName = packageName;
     Version = version;
     Hash = hash;
     Dependencies = dependencies;
     Serviceable = serviceable;
 }
Ejemplo n.º 2
0
 public CompilationLibrary(string libraryType, string packageName, string version, string hash, string[] assemblies, Dependency[] dependencies, bool serviceable)
     : base(libraryType, packageName, version, hash,  dependencies, serviceable)
 {
     Assemblies = assemblies;
 }
Ejemplo n.º 3
0
 public bool Equals(Dependency other)
 {
     return(string.Equals(Name, other.Name) && string.Equals(Version, other.Version));
 }
Ejemplo n.º 4
0
 public bool Equals(Dependency other)
 {
     return string.Equals(Name, other.Name) && string.Equals(Version, other.Version);
 }
Ejemplo n.º 5
0
 public RuntimeLibrary(string libraryType, string packageName, string version, string hash, string[] assemblies, Dependency[] dependencies, bool serviceable)
     : base(libraryType, packageName, version, hash, dependencies, serviceable)
 {
     Assemblies = assemblies.Select(path => new RuntimeAssembly(path)).ToArray();
 }