Beispiel #1
0
 public DocumentMetadata(MD5Sum id, string title, Guid authorId, DateTime timestamp)
 {
     Id        = id;
     Title     = title;
     AuthorId  = authorId;
     Timestamp = timestamp;
 }
Beispiel #2
0
 public DocumentBlock(MD5Sum id, bool isVoluntary, Guid agentId, string comment, DateTime timestamp)
 {
     Id          = id;
     IsVoluntary = isVoluntary;
     AgentId     = agentId;
     Comment     = comment;
     Timestamp   = timestamp;
 }
Beispiel #3
0
 public Relation(MD5Sum antecedentId, MD5Sum descendantId)
 {
     AntecedentId = antecedentId;
     DescendantId = descendantId;
     hashCode     = antecedentId.GetHashCode() ^ descendantId.GetHashCode();
 }