コード例 #1
0
 public static VersionedReference <TRef> UpdateIncrement <TAtomic, TRef>(
     this TAtomic atom,
     VersionedReference <TRef> newRefExpectedVersion)
     where TAtomic : IAtomic <VersionedReference <TRef> >
     where TRef : class;
コード例 #2
0
 public bool Equals(VersionedReference <TRef> other)
 => ReferenceEquals(Reference, other.Reference) &&
 Version == other.Version;