예제 #1
0
 private object Deserialize(ref SerializationReader mySerializationReader, DBObjectRevisionID myValue)
 {
     myValue._Value = (ObjectRevisionID) mySerializationReader.ReadObject();
     return myValue;
 }
예제 #2
0
 private void Serialize(ref SerializationWriter mySerializationWriter, DBObjectRevisionID myValue)
 {
     mySerializationWriter.WriteObject((ObjectRevisionID)myValue.Value);
 }
예제 #3
0
 private void CalcEstimatedSize(DBObjectRevisionID myTypeAttribute)
 {
     if (_Value != null)
     {
         //ObjectRevisionID(UUID + UInt64) + BaseSize
         _estimatedSize = EstimatedSizeConstants.CalcUUIDSize(_Value.UUID) + EstimatedSizeConstants.UInt64 + GetBaseSize();
     }
     else
     {
          //BaseSize
         _estimatedSize = GetBaseSize();
     }
 }