System.Text.DecoderNLS.DecoderNLSSurrogate.GetRealObject C# (CSharp) Method

GetRealObject() public method

public GetRealObject ( StreamingContext context ) : object
context System.Runtime.Serialization.StreamingContext
return object
            public object GetRealObject(StreamingContext context)
            {
                Decoder decoder = _encoding.GetDecoder();
                if (_fallback != null)
                {
                    decoder.Fallback = _fallback;
                }
                return decoder;
            }