C# 클래스 Halcyon.HAL.HALResponse

파일 보기 프로젝트 열기: visualeyes/halcyon 1 사용 예제들

공개 메소드들

메소드 설명
AddEmbeddedCollection ( string name, IEnumerable objects ) : HALResponse
AddEmbeddedResource ( string name, HALResponse resource ) : HALResponse
AddLinks ( IEnumerable links ) : HALResponse
HALResponse ( IHALModelConfig config ) : System
HALResponse ( object model, IHALModelConfig config = null ) : System
HasLink ( string rel ) : bool
ToJObject ( JsonSerializer serializer ) : Newtonsoft.Json.Linq.JObject
ToPlainResponse ( JsonSerializer serializer, bool attachEmbedded = true ) : Newtonsoft.Json.Linq.JObject

비공개 메소드들

메소드 설명
EmbeddedToJObject ( JObject>.Func converter ) : Newtonsoft.Json.Linq.JObject
GetBaseJObject ( JsonSerializer serializer ) : Newtonsoft.Json.Linq.JObject
GetResolvedLinks ( IEnumerable links, object>.IDictionary properties, string linkBase ) : object>.Dictionary

메소드 상세

AddEmbeddedCollection() 공개 메소드

public AddEmbeddedCollection ( string name, IEnumerable objects ) : HALResponse
name string
objects IEnumerable
리턴 HALResponse

AddEmbeddedResource() 공개 메소드

public AddEmbeddedResource ( string name, HALResponse resource ) : HALResponse
name string
resource HALResponse
리턴 HALResponse

AddLinks() 공개 메소드

public AddLinks ( IEnumerable links ) : HALResponse
links IEnumerable
리턴 HALResponse

HALResponse() 공개 메소드

public HALResponse ( IHALModelConfig config ) : System
config IHALModelConfig
리턴 System

HALResponse() 공개 메소드

public HALResponse ( object model, IHALModelConfig config = null ) : System
model object
config IHALModelConfig
리턴 System

HasLink() 공개 메소드

public HasLink ( string rel ) : bool
rel string
리턴 bool

ToJObject() 공개 메소드

public ToJObject ( JsonSerializer serializer ) : Newtonsoft.Json.Linq.JObject
serializer Newtonsoft.Json.JsonSerializer
리턴 Newtonsoft.Json.Linq.JObject

ToPlainResponse() 공개 메소드

public ToPlainResponse ( JsonSerializer serializer, bool attachEmbedded = true ) : Newtonsoft.Json.Linq.JObject
serializer Newtonsoft.Json.JsonSerializer
attachEmbedded bool
리턴 Newtonsoft.Json.Linq.JObject