Example #1
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="storage">Copied storage</param>
 private InfoDataStorage(InfoDataStorage storage)
     : base(storage)
 {
 }
Example #2
0
 /// <summary>
 /// Set new InfoDataStorage and computes hash
 /// </summary>
 /// <param name="storage">new InfoDataStorage</param>
 protected void setStorage(InfoDataStorage storage)
 {
     _storage         = storage;
     _precomputedHash = _storage.GetHashCode();
 }