示例#1
0
 public static void Save(IValueSink sink, DeviceObjectReference value)
 {
     sink.EnterSequence();
     Value<Option<ObjectId>>.Save(sink, value.DeviceIdentifier);
     Value<ObjectId>.Save(sink, value.ObjectIdentifier);
     sink.LeaveSequence();
 }
        public static void Save(IValueSink sink, DeviceObjectReference value)
        {
            sink.EnterSequence();
            Value <Option <ObjectId> > .Save(sink, value.DeviceIdentifier);

            Value <ObjectId> .Save(sink, value.ObjectIdentifier);

            sink.LeaveSequence();
        }