9 [CollectionName(
"PersistedHashes")]
11 [Index(
"Realm",
"Hash")]
13 [ArchivingTime(nameof(ArchiveDays))]
37 public string Realm {
get;
set; }
42 public byte[]
Hash {
get;
set; }
60 TimeSpan Span = this.ExpiresUtc - DateTime.UtcNow;
61 double Days = Math.Ceiling(Span.TotalDays);
65 else if (Days >
int.MaxValue)
Contains information about a persisted hash
PersistedHash()
Contains information about a persisted hash
object AssociatedObject
Associated object
int ArchiveDays
Number of days to archive hash.
DateTime ExpiresUtc
When hash expires and can be removed.
TypeNameSerialization
How the type name should be serialized.