コード例 #1
0
ファイル: Search.cs プロジェクト: pnelson786/logjoint
 int IEqualityComparer <Options> .GetHashCode(Options obj)
 {
     return
         (Hashing.GetHashCode(GetTemplateComparer(obj.MatchCase).GetHashCode(obj.Template),
                              Hashing.GetHashCode(obj.WholeWord.GetHashCode(),
                                                  Hashing.GetHashCode(obj.MatchCase.GetHashCode(),
                                                                      Hashing.GetHashCode(obj.ContentTypes.GetHashCode(),
                                                                                          Hashing.GetHashCode(obj.Scope.GetHashCode()
                                                                                                              ))))));
 }