コード例 #1
0
        void ISerializable.GetObjectData(SerializationInfo oInfo, StreamingContext oContext)
        {
            _logic.GetObjectData(oInfo, oContext);

            if (IsSuccess)
            {
                oInfo.AddValue("Value", Value);
            }
        }
コード例 #2
0
 void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
 => _logic.GetObjectData(info, this);