public override int GetHashCode() { return(HashCoder <ClassOneCommon> .Combine(HashCoder <string> .GetCode(this.Name), HashCoder <string> .GetCode(this.Name2), HashCoder <string> .GetCode(this.Name3), HashCoder <ClassOneCommon> .GetCode(this.One))); }
public override int GetHashCode() { return(HashCoder <MethodKey> .Combine(HashCoder <Type> .GetCode(this.ObjectType) , HashCoder <Type> .GetCode(this.GenericTypes) , HashCoder <MethodParameter> .GetCode(this.Parameters) , HashCoder <bool> .GetCode(this.IsGenericVersion))); }
public override int GetHashCode() { int r = HashCoder.Seed; r = HashCoder.Hash(r, GetPosition()); r = HashCoder.Hash(r, IsUncertain()); r = HashCoder.Hash(r, IsUnknown()); return(r); }
public override int GetHashCode() { int s = HashCoder.Seed; s = HashCoder.Hash(s, _charSeqToCompound); s = HashCoder.Hash(s, equivalentsMap); return(s); }
public override int GetHashCode() { int r = HashCoder.Seed; r = HashCoder.Hash(r, GetId()); r = HashCoder.Hash(r, GetDataSource()); r = HashCoder.Hash(r, GetIdentifier()); r = HashCoder.Hash(r, GetVersion()); return(r); }
protected override string Process(DynamicData param) { var fieldsCode = HashCoder <string> .GetCode(param.Keys); //data.Keys 是参与修改的字段名称 string sql = _cache.GetOrCreate(fieldsCode, (t) => { return(GetUpdateSql(this.Target, param)); }); return(sql); }
public override int GetHashCode() { return(HashCoder.GetCode(ObjectType, (hashCodes) => { var properties = DomainProperty.GetProperties(ObjectType); foreach (var property in properties) { var propertyValue = this.GetValue(property); hashCodes.Add(HashCoder <string> .GetCode(property.Name)); hashCodes.Add(HashCoder.GetCode(propertyValue)); } })); }
/// <summary> /// Returns the hashcode of the object. /// </summary> /// <returns></returns> public override int GetHashCode() { switch (ColorType) { case TColorType.RGB: return(HashCoder.GetHash(((int)ColorType).GetHashCode(), RGB.GetHashCode(), Tint.GetHashCode())); case TColorType.Automatic: return(HashCoder.GetHash(((int)ColorType).GetHashCode(), ((int)FAutomaticType).GetHashCode(), Tint.GetHashCode())); case TColorType.Theme: return(HashCoder.GetHash(((int)ColorType).GetHashCode(), ((int)Theme).GetHashCode(), Tint.GetHashCode())); case TColorType.Indexed: return(HashCoder.GetHash(((int)ColorType).GetHashCode(), FIndex.GetHashCode(), Tint.GetHashCode())); } return(((int)ColorType).GetHashCode()); }
/// <summary> /// Returns the hashcode for this object. /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash( FApplyFontSize20.GetHashCode(), FApplyFontSize20 ? FFontSize20.GetHashCode() : 0, FApplyFontColor.GetHashCode(), FApplyFontColor ? FontColor.GetHashCode() : 0, FApplyFontStyleBoldAndItalic.GetHashCode(), FApplyFontStyleSubSuperscript.GetHashCode(), FApplyFontStyleStrikeout.GetHashCode(), FApplyFontStyleBoldAndItalic || FApplyFontStyleSubSuperscript || FApplyFontStyleStrikeout ? FFontStyle.GetHashCode() : 0, FApplyFontUnderline.GetHashCode(), FApplyFontUnderline ? FFontUnderline.GetHashCode() : 0, FApplyPatternStyle.GetHashCode(), FApplyPatternStyle ? FPatternStyle.GetHashCode() : 0, FApplyPatternFg.GetHashCode(), FApplyPatternFg ? FPatternFgColor.GetHashCode() : 0, FApplyPatternBg.GetHashCode(), FApplyPatternBg ? PatternBgColor.GetHashCode() : 0, FApplyBorderLeft.GetHashCode(), FApplyBorderLeft ? FBorderLeft.GetHashCode() : 0, FApplyBorderRight.GetHashCode(), FApplyBorderRight ? FBorderRight.GetHashCode() : 0, FApplyBorderTop.GetHashCode(), FApplyBorderTop ? FBorderTop.GetHashCode() : 0, FApplyBorderBottom.GetHashCode(), FApplyBorderBottom ? FBorderBottom.GetHashCode() : 0 )); }
public override int GetHashCode() { return(HashCoder.GetHash(FunctionType, GetHash(Domain), GetHash(Range), GetHash(C0), GetHash(C1), N.GetHashCode())); }
public override int GetHashCode() { return(HashCoder <MethodParameter> .Combine(HashCoder <Type> .GetCode(this.Type) , HashCoder <bool> .GetCode(this.IsGeneric))); }
/// <summary> /// Returns the hashcode for this object. /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash(base.GetHashCode(), FTop.GetHashCode(), FLeft.GetHashCode(), FBottom.GetHashCode(), FRight.GetHashCode())); }
/// <summary> /// Returns the hashcode for this object. /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash(base.GetHashCode(), RotationAngle.GetHashCode())); }
/// <summary> /// Hash code for the point. /// </summary> /// <returns>hashcode.</returns> public override int GetHashCode() { return(HashCoder.GetHash(X, Y)); }
public override int GetHashCode() { return(HashCoder.GetHash(Size.GetHashCode(), Name.GetHashCode(), ((int)Style).GetHashCode())); }
/// <summary> /// Returns a hashcode for the color. /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash(FscR.GetHashCode(), FscG.GetHashCode(), FscB.GetHashCode())); }
public override int GetHashCode() { return(HashCoder.GetHash(FunctionType.GetHashCode(), GetHash(Domain), GetHash(Range), Data.GetHashCode(), BitsPerSample.GetHashCode())); }
/// <summary> /// Returns a hashcode for the color. /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash(FHue.GetHashCode(), FSat.GetHashCode(), FLum.GetHashCode())); }
public override int GetHashCode() { return(HashCoder.GetHash(FunctionType, GetHash(Domain), GetHash(Range), Functions.GetHashCode(), GetHash(Bounds), GetHash(Encode))); }
/// <summary> /// Returns a hashcode for the color. /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash(FL0.GetHashCode(), Fa0.GetHashCode(), Fb0.GetHashCode())); }
/// <summary> /// Returns the hashcode for this struct. /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash(Position.GetHashCode(), Color.GetHashCode())); }
/// <summary> /// Returns the hashcode for this object. /// </summary> /// <returns></returns> public override int GetHashCode() { int StopsHashCode = Stops == null ? 0 : Stops.GetHashCode(); return(HashCoder.GetHash(GradientType.GetHashCode(), StopsHashCode)); }
/// <summary> /// Returns the hashcode for this object /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash(Fx.GetHashCode(), Fy.GetHashCode())); }