コード例 #1
0
ファイル: ConventionsDeclaration.cs プロジェクト: mjul/diesel
 public override int GetHashCode()
 {
     unchecked
     {
         return(((DomainEventConventions != null ? DomainEventConventions.GetHashCode() : 0) * 397) ^ (CommandConventions != null ? CommandConventions.GetHashCode() : 0));
     }
 }
コード例 #2
0
ファイル: ConventionsDeclaration.cs プロジェクト: mjul/diesel
 public ConventionsDeclaration(DomainEventConventions domainEventConventions,
                               CommandConventions commandConventions)
 {
     DomainEventConventions = domainEventConventions;
     CommandConventions     = commandConventions;
 }