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