예제 #1
0
 public override int GetHashCode() => Version.GetHashCode() ^ Artifact.GetHashCode();
예제 #2
0
 /// <summary>
 /// Initializes a new <see cref="ArtifactInstance"/>.
 /// </summary>
 /// <param name="a">The artifact.</param>
 /// <param name="version">The version. Can not be null.</param>
 public ArtifactInstance(Artifact a, SVersion version)
 {
     Artifact = a;
     Version  = version ?? throw new ArgumentNullException(nameof(version));
 }