Exemple #1
0
        public override int GetHashCode()
        {
            int prime = 31;
            int res   = MappingName.GetHashCode();

            foreach (var trigger in Triggers)
            {
                res = res * prime + trigger.GetHashCode();
            }
            res += Callback.GetHashCode();
            return(res);
        }
 public override int GetHashCode()
 {
     return(MappingName.GetHashCode()
            ^ MappingKind.GetHashCode()
            ^ MappingAsJson.GetHashCode());
 }