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