Esempio n. 1
0
 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()
                                                                                                              ))))));
 }