InputFormatterContext.ReaderFactory 属性

定义

获取一个委托,该委托可以为请求正文创建 TextReader

public:
 property Func<System::IO::Stream ^, System::Text::Encoding ^, System::IO::TextReader ^> ^ ReaderFactory { Func<System::IO::Stream ^, System::Text::Encoding ^, System::IO::TextReader ^> ^ get(); };
public Func<System.IO.Stream,System.Text.Encoding,System.IO.TextReader> ReaderFactory { get; }
member this.ReaderFactory : Func<System.IO.Stream, System.Text.Encoding, System.IO.TextReader>
Public ReadOnly Property ReaderFactory As Func(Of Stream, Encoding, TextReader)

属性值

适用于