} // IsEqual // ---------------------------------------------------------------------- protected override int ComputeHashCode() { int hash = base.ComputeHashCode(); hash = HashTool.AddHashCode(hash, fullName); return(hash); } // ComputeHashCode
} // IsEqual protected override int ComputeHashCode() { var hash = base.ComputeHashCode(); hash = HashTool.AddHashCode(hash, Text); hash = HashTool.AddHashCode(hash, _format); return(hash); } // ComputeHashCode
} // IsEqual private int ComputeHashCode() { var hash = Red; hash = HashTool.AddHashCode(hash, Green); hash = HashTool.AddHashCode(hash, Blue); return(hash); } // ComputeHashCode
} // IsEqual // ---------------------------------------------------------------------- protected override int ComputeHashCode() { int hash = base.ComputeHashCode(); hash = HashTool.AddHashCode(hash, this.text); hash = HashTool.AddHashCode(hash, this.format); return(hash); } // ComputeHashCode
} // IsEqual // ---------------------------------------------------------------------- private int ComputeHashCode() { int hash = this.red; hash = HashTool.AddHashCode(hash, this.green); hash = HashTool.AddHashCode(hash, this.blue); return(hash); } // ComputeHashCode
} // IsEqual private int ComputeHashCode() { var hash = ForegroundColor.GetHashCode(); hash = HashTool.AddHashCode(hash, BackgroundColor); hash = HashTool.AddHashCode(hash, FontFamily); hash = HashTool.AddHashCode(hash, FontSize); return(hash); } // ComputeHashCode
} // IsEqual // ---------------------------------------------------------------------- private int ComputeHashCode() { int hash = foregroundColor.GetHashCode(); hash = HashTool.AddHashCode(hash, backgroundColor); hash = HashTool.AddHashCode(hash, fontFamily); hash = HashTool.AddHashCode(hash, fontSize); return(hash); } // ComputeHashCode
} // GetHashCode // ---------------------------------------------------------------------- private int ComputeHashCode() { int hash = propertyKindCode; hash = HashTool.AddHashCode(hash, propertyKind); hash = HashTool.AddHashCode(hash, name); hash = HashTool.AddHashCode(hash, staticValue); hash = HashTool.AddHashCode(hash, linkValue); return(hash); } // ComputeHashCode
} // GetHashCode private int ComputeHashCode() { var hash = PropertyKindCode; hash = HashTool.AddHashCode(hash, PropertyKind); hash = HashTool.AddHashCode(hash, Name); hash = HashTool.AddHashCode(hash, StaticValue); hash = HashTool.AddHashCode(hash, LinkValue); return(hash); } // ComputeHashCode
} // GetHashCode // ---------------------------------------------------------------------- private int ComputeHashCode() { int hash = this.propertyKindCode; hash = HashTool.AddHashCode(hash, this.propertyKind); hash = HashTool.AddHashCode(hash, this.name); hash = HashTool.AddHashCode(hash, this.staticValue); hash = HashTool.AddHashCode(hash, this.linkValue); return(hash); } // ComputeHashCode
} // IsEqual // ---------------------------------------------------------------------- private int ComputeHashCode() { int hash = this.id.GetHashCode(); hash = HashTool.AddHashCode(hash, this.kind); hash = HashTool.AddHashCode(hash, this.pitch); hash = HashTool.AddHashCode(hash, this.charSet); hash = HashTool.AddHashCode(hash, this.codePage); hash = HashTool.AddHashCode(hash, this.name); return(hash); } // ComputeHashCode
} // IsEqual private int ComputeHashCode() { var hash = Id.GetHashCode(); hash = HashTool.AddHashCode(hash, Kind); hash = HashTool.AddHashCode(hash, Pitch); hash = HashTool.AddHashCode(hash, CharSet); hash = HashTool.AddHashCode(hash, _codePage); hash = HashTool.AddHashCode(hash, Name); return(hash); } // ComputeHashCode
} // IsEqual // ---------------------------------------------------------------------- private int ComputeHashCode() { int hash = id.GetHashCode(); hash = HashTool.AddHashCode(hash, kind); hash = HashTool.AddHashCode(hash, pitch); hash = HashTool.AddHashCode(hash, charSet); hash = HashTool.AddHashCode(hash, codePage); hash = HashTool.AddHashCode(hash, name); return(hash); } // ComputeHashCode
} // IsEqual // ---------------------------------------------------------------------- private int ComputeHashCode() { int hash = font.GetHashCode(); hash = HashTool.AddHashCode(hash, fontSize); hash = HashTool.AddHashCode(hash, superScript); hash = HashTool.AddHashCode(hash, bold); hash = HashTool.AddHashCode(hash, italic); hash = HashTool.AddHashCode(hash, underline); hash = HashTool.AddHashCode(hash, strikeThrough); hash = HashTool.AddHashCode(hash, hidden); hash = HashTool.AddHashCode(hash, backgroundColor); hash = HashTool.AddHashCode(hash, foregroundColor); hash = HashTool.AddHashCode(hash, alignment); return(hash); } // ComputeHashCode
} // IsEqual protected override int ComputeHashCode() { var hash = base.ComputeHashCode(); hash = HashTool.AddHashCode(hash, Format); hash = HashTool.AddHashCode(hash, Alignment); hash = HashTool.AddHashCode(hash, Width); hash = HashTool.AddHashCode(hash, Height); hash = HashTool.AddHashCode(hash, DesiredWidth); hash = HashTool.AddHashCode(hash, DesiredHeight); hash = HashTool.AddHashCode(hash, ScaleWidthPercent); hash = HashTool.AddHashCode(hash, ScaleHeightPercent); hash = HashTool.AddHashCode(hash, ImageDataHex); //hash = HashTool.AddHashCode( hash, imageDataBinary ); // cached info only return(hash); } // ComputeHashCode
} // IsEqual // ---------------------------------------------------------------------- protected override int ComputeHashCode() { int hash = base.ComputeHashCode(); hash = HashTool.AddHashCode(hash, format); hash = HashTool.AddHashCode(hash, alignment); hash = HashTool.AddHashCode(hash, width); hash = HashTool.AddHashCode(hash, height); hash = HashTool.AddHashCode(hash, desiredWidth); hash = HashTool.AddHashCode(hash, desiredHeight); hash = HashTool.AddHashCode(hash, scaleWidthPercent); hash = HashTool.AddHashCode(hash, scaleHeightPercent); hash = HashTool.AddHashCode(hash, imageDataHex); //hash = HashTool.AddHashCode( hash, imageDataBinary ); // cached info only return(hash); } // ComputeHashCode
} // IsEqual // ---------------------------------------------------------------------- private int ComputeHashCode() { int hash = this.font.GetHashCode(); hash = HashTool.AddHashCode(hash, this.fontSize); hash = HashTool.AddHashCode(hash, this.superScript); hash = HashTool.AddHashCode(hash, this.bold); hash = HashTool.AddHashCode(hash, this.italic); hash = HashTool.AddHashCode(hash, this.underline); hash = HashTool.AddHashCode(hash, this.strikeThrough); hash = HashTool.AddHashCode(hash, this.hidden); hash = HashTool.AddHashCode(hash, this.backgroundColor); hash = HashTool.AddHashCode(hash, this.foregroundColor); hash = HashTool.AddHashCode(hash, this.alignment); return(hash); } // ComputeHashCode
} // IsEqual private int ComputeHashCode() { var hash = Font.GetHashCode(); hash = HashTool.AddHashCode(hash, FontSize); hash = HashTool.AddHashCode(hash, SuperScript); hash = HashTool.AddHashCode(hash, IsBold); hash = HashTool.AddHashCode(hash, IsItalic); hash = HashTool.AddHashCode(hash, IsUnderline); hash = HashTool.AddHashCode(hash, IsStrikeThrough); hash = HashTool.AddHashCode(hash, IsHidden); hash = HashTool.AddHashCode(hash, BackgroundColor); hash = HashTool.AddHashCode(hash, ForegroundColor); hash = HashTool.AddHashCode(hash, Alignment); return(hash); } // ComputeHashCode
} // Equals // ---------------------------------------------------------------------- public sealed override int GetHashCode() { return(HashTool.AddHashCode(GetType().GetHashCode(), ComputeHashCode())); } // GetHashCode
} // IsEqual // ---------------------------------------------------------------------- protected override int ComputeHashCode() { return(HashTool.AddHashCode(base.ComputeHashCode(), this.contents)); } // ComputeHashCode
} // IsEqual protected override int ComputeHashCode() { return(HashTool.AddHashCode(base.ComputeHashCode(), Text)); } // ComputeHashCode
} // IsEqual // ---------------------------------------------------------------------- protected override int ComputeHashCode() { return(HashTool.AddHashCode(base.ComputeHashCode(), this.breakKind)); } // ComputeHashCode