protected override void Initialize() { using (var stream = this.Export(BufferManager.Instance)) { _hashCode = ItemUtils.GetHashCode(stream); } }
public override int GetHashCode() { return((this.Id != null) ? ItemUtils.GetHashCode(this.Id) : 0); }
protected override void Initialize() { _hashCode = (this.Value != null) ? ItemUtils.GetHashCode(this.Value) : 0; }
public override int GetHashCode() { return(((int)this.Algorithm) ^ ItemUtils.GetHashCode(this.Value)); }