C# 클래스 Org.Openengsb.Loom.CSharp.Bridge.Implementation.Communication.Json.AbstractJsonMarshaller

상속: Newtonsoft.Json.JsonConverter
파일 보기 프로젝트 열기: openengsb/loom-csharp

공개 메소드들

메소드 설명
ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void

보호된 메소드들

메소드 설명
CanTypeBeExtendedWithOpenEngsbModelTail ( Type objectType ) : System.Boolean

This method checks, if a Type can be extended with IOpenEngSBModel.

IsException ( Type objectType ) : bool

Checks if the type is an Exception type (Ends with Exception)

IsMapType ( Type objectType ) : bool

Checks if Type is Map (Dictaionary

비공개 메소드들

메소드 설명
CreateJsonWithoutXMLIgnoreFields ( JsonWriter writer, object value, JsonSerializer serializer ) : void
TestIfNullValueProducesTheException ( JsonSerializationException jsonex ) : System.Boolean
isBasicType ( Type objectType ) : System.Boolean
isCollection ( Type objectType ) : System.Boolean
isObjectType ( Type objectType ) : System.Boolean
isOpenEngSBModelTypeImplemented ( Type objectType ) : System.Boolean

메소드 상세

CanTypeBeExtendedWithOpenEngsbModelTail() 보호된 메소드

This method checks, if a Type can be extended with IOpenEngSBModel.
protected CanTypeBeExtendedWithOpenEngsbModelTail ( Type objectType ) : System.Boolean
objectType System.Type
리턴 System.Boolean

IsException() 보호된 메소드

Checks if the type is an Exception type (Ends with Exception)
protected IsException ( Type objectType ) : bool
objectType System.Type
리턴 bool

IsMapType() 보호된 메소드

Checks if Type is Map (Dictaionary
protected IsMapType ( Type objectType ) : bool
objectType System.Type
리턴 bool

ReadJson() 공개 메소드

public ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
reader Newtonsoft.Json.JsonReader
objectType System.Type
existingValue object
serializer Newtonsoft.Json.JsonSerializer
리턴 object

WriteJson() 공개 메소드

public WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void
writer Newtonsoft.Json.JsonWriter
value object
serializer Newtonsoft.Json.JsonSerializer
리턴 void