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