コード例 #1
0
 /// <summary>
 /// Compares this instance to the other instance, using the <see cref="MigrationVersion" /> to determine the order.
 /// </summary>
 public int CompareTo(PendingMigration <TMigrationVersion> other) => MigrationVersion.CompareTo(other.MigrationVersion);
コード例 #2
0
 /// <summary>
 /// Checks if the version and type are equal on this an the other instance.
 /// </summary>
 public bool Equals(PendingMigration <TMigrationVersion> other) =>
 MigrationVersion.Equals(other.MigrationVersion) && MigrationType == other.MigrationType;