示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((DomainEventConventions != null ? DomainEventConventions.GetHashCode() : 0) * 397) ^ (CommandConventions != null ? CommandConventions.GetHashCode() : 0));
     }
 }
示例#2
0
 public ConventionsDeclaration(DomainEventConventions domainEventConventions,
                               CommandConventions commandConventions)
 {
     DomainEventConventions = domainEventConventions;
     CommandConventions     = commandConventions;
 }