Пример #1
0
        private Result(SerializationInfo info, StreamingContext context)
        {
            _logic = ResultCommonLogic <string> .Deserialize(info);

            _value = _logic.IsFailure ? default : (T)info.GetValue("Value", typeof(T));
        }
Пример #2
0
 private Result(SerializationInfo info, StreamingContext context)
 {
     _logic = ResultCommonLogic <string> .Deserialize(info);
 }