C# 클래스 UtilJsonApiSerializer.Serialization.JsonApiFormatter

상속: System.Net.Http.Formatting.BufferedMediaTypeFormatter
파일 보기 프로젝트 열기: FrontlineEducation/Util-JsonApiSerializer 1 사용 예제들

공개 메소드들

메소드 설명
CanReadType ( Type type ) : bool
CanWriteType ( Type type ) : bool
JsonApiFormatter ( Configuration cfg, JsonSerializer jsonSerializer ) : System
ReadFromStream ( Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger ) : object
WriteToStream ( Type type, object value, Stream writeStream, HttpContent content ) : void

비공개 메소드들

메소드 설명
ValidateUpdateDocument ( UpdateDocument updateDocument ) : void

메소드 상세

CanReadType() 공개 메소드

public CanReadType ( Type type ) : bool
type System.Type
리턴 bool

CanWriteType() 공개 메소드

public CanWriteType ( Type type ) : bool
type System.Type
리턴 bool

JsonApiFormatter() 공개 메소드

public JsonApiFormatter ( Configuration cfg, JsonSerializer jsonSerializer ) : System
cfg Configuration
jsonSerializer Newtonsoft.Json.JsonSerializer
리턴 System

ReadFromStream() 공개 메소드

public ReadFromStream ( Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger ) : object
type System.Type
readStream Stream
content System.Net.Http.HttpContent
formatterLogger IFormatterLogger
리턴 object

WriteToStream() 공개 메소드

public WriteToStream ( Type type, object value, Stream writeStream, HttpContent content ) : void
type System.Type
value object
writeStream Stream
content System.Net.Http.HttpContent
리턴 void