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