Esempio n. 1
0
        public override int GetSimpleHashCode()
        {
            StringBuilder sb = new StringBuilder();

            sb.Append(Id);
            sb.Append(Name);
            sb.Append("Adds:" + string.Join(",", Adds.Select(c => c.IntegerValue)));
            sb.Append("Deletes:" + string.Join(",", Deletes.Select(c => c.IntegerValue)));
            sb.Append(ImplementationInfo.StartTime);
            sb.Append(ImplementationInfo.ExposureTime);
            sb.Append(ImplementationInfo.EndTime);
            sb.Append(ImplementationInfo.IsConflicted);
            return(sb.ToString().GetHashCode());
        }