C# 클래스 NSwag.Integration.Console.JsonExceptionConverter

상속: Newtonsoft.Json.JsonConverter
파일 보기 프로젝트 열기: NSwag/NSwag

공개 메소드들

메소드 설명
CanConvert ( System objectType ) : bool
JsonExceptionConverter ( ) : NSwag.Integration.Console.Contracts
ReadJson ( Newtonsoft reader, System objectType, object existingValue, Newtonsoft serializer ) : object
WriteJson ( Newtonsoft writer, object value, Newtonsoft serializer ) : void

비공개 메소드들

메소드 설명
GetExceptionProperties ( System exceptionType ) : string>.System.Collections.Generic.IDictionary
GetField ( System type, string fieldName ) : System.Reflection.FieldInfo
SetExceptionFieldValue ( Newtonsoft jObject, string propertyName, object value, string fieldName, Newtonsoft resolver, Newtonsoft serializer ) : void

메소드 상세

CanConvert() 공개 메소드

public CanConvert ( System objectType ) : bool
objectType System
리턴 bool

JsonExceptionConverter() 공개 메소드

public JsonExceptionConverter ( ) : NSwag.Integration.Console.Contracts
리턴 NSwag.Integration.Console.Contracts

ReadJson() 공개 메소드

public ReadJson ( Newtonsoft reader, System objectType, object existingValue, Newtonsoft serializer ) : object
reader Newtonsoft
objectType System
existingValue object
serializer Newtonsoft
리턴 object

WriteJson() 공개 메소드

public WriteJson ( Newtonsoft writer, object value, Newtonsoft serializer ) : void
writer Newtonsoft
value object
serializer Newtonsoft
리턴 void