C# 클래스 Felinesoft.UmbracoCodeFirst.DataTypes.UmbracoJsonDataType

A data type base which allows the derived type to be serialised to and deserialised from JSON using JsonConvert
상속: IUmbracoNtextDataType
파일 보기 프로젝트 열기: DanMannMann/UmbracoCodeFirst

공개 메소드들

메소드 설명
Initialise ( string dbValue ) : void

Initialises the current instance with the values deserialised from the given JSON string

Serialise ( ) : string

Serialises the current instance to a JSON string

보호된 메소드들

메소드 설명
UmbracoJsonDataType ( JsonSerializerSettings serializerSettings ) : System

Constructs a new instance of UmbracoJsonDataType

UmbracoJsonDataType ( NullValueHandling nullHandling = NullValueHandling.Include ) : System

Constructs a new instance of UmbracoJsonDataType

메소드 상세

Initialise() 공개 메소드

Initialises the current instance with the values deserialised from the given JSON string
public Initialise ( string dbValue ) : void
dbValue string The JSON string
리턴 void

Serialise() 공개 메소드

Serialises the current instance to a JSON string
public Serialise ( ) : string
리턴 string

UmbracoJsonDataType() 보호된 메소드

Constructs a new instance of UmbracoJsonDataType
protected UmbracoJsonDataType ( JsonSerializerSettings serializerSettings ) : System
serializerSettings Newtonsoft.Json.JsonSerializerSettings Defines how (de)serialisation is done by Newtonsoft JSON
리턴 System

UmbracoJsonDataType() 보호된 메소드

Constructs a new instance of UmbracoJsonDataType
protected UmbracoJsonDataType ( NullValueHandling nullHandling = NullValueHandling.Include ) : System
nullHandling NullValueHandling Defines how null properties are serialised
리턴 System