JsonElement 클래스

정의

Json 원본에서 인스턴스화된 RootElement입니다.

public class JsonElement : MonoTouch.Dialog.RootElement
type JsonElement = class
    inherit RootElement
상속
JsonElement

설명

JsonElement는 로컬 또는 원격 URL에서 중첩된 자식의 콘텐츠를 로드할 수 있도록 RootElement를 확장하는 RootElement의 하위 LC입니다.

JsonElement는 두 가지 형식으로 인스턴스화할 수 있는 RootElement입니다. 한 버전은 요청 시 콘텐츠를 로드하는 RootElement를 만듭니다. 이러한 항목은 JsonElement 생성자를 사용하여 만들어지며, 마지막에는 추가 인수인 URL을 사용하여 콘텐츠를 로드합니다.

var je = new JsonElement ("Dynamic Data", "https://tirania.org/tmp/demo.json");

다른 양식은 이미 구문 분석한 로컬 파일 또는 기존 System.Json.JsonObject에서 데이터를 만듭니다.


var je = JsonElement.FromFile ("json.sample");

using (var reader = File.OpenRead ("json.sample"))
    return JsonElement.FromJson (JsonObject.Load (reader) as JsonObject, arg);

태그에 대한 자세한 내용은 MonoTouch.Dialog에 포함된 README.markdown을 참조하세요.

생성자

JsonElement(String, Group, String)

지정된 URL에 있는 Json 파일의 콘텐츠에서 중첩된 콘텐츠를 사용하여 RootElement를 만듭니다.

JsonElement(String, Int32, Int32, String)

지정된 URL에 있는 Json 파일의 콘텐츠에서 중첩된 콘텐츠를 사용하여 RootElement를 만듭니다.

JsonElement(String, String)

지정된 URL에 있는 Json 파일의 콘텐츠에서 중첩된 콘텐츠를 사용하여 RootElement를 만듭니다.

필드

Caption

이 지정된 요소에 대해 표시할 캡션

(다음에서 상속됨 Element)
createOnSelected

RootElement를 탭할 때 호출되는 대리자입니다.

(다음에서 상속됨 RootElement)
NeedColorUpdate

IColorizeBackground를 구현하는 셀에서 WillDisplay 메서드를 호출하도록 DialogViewController를 지시하도록 설정합니다.

(다음에서 상속됨 RootElement)
Parent

컨테이너 개체에 대한 핸들입니다.

(다음에서 상속됨 Element)
TableView

현재 RootElement를 렌더링하는 UITableView입니다.

(다음에서 상속됨 RootElement)
UnevenRows

행의 크기가 모두 같은지 여부를 보고합니다.

(다음에서 상속됨 RootElement)
Url

요소가 선택된 경우 로드할 URL입니다.

속성

CellKey

GetCell 메서드를 재정의하는 서브클래스도 이 메서드를 재정의해야 합니다.

(다음에서 상속됨 Element)
Count

이 RootElement의 섹션 수입니다.

(다음에서 상속됨 RootElement)
DateKind

Json 원본에서 인스턴스화된 RootElement입니다.

IndexPath

지정된 요소의 IndexPath를 반환합니다. 리프 요소에만 유효하며, 요소가 아직 연결되지 않은 경우 toplevel RootElement 또는 Section에 대해서는 작동하지 않습니다.

(다음에서 상속됨 Element)
Item[Int32]

지정된 인덱스에서 섹션을 반환합니다.

(다음에서 상속됨 RootElement)
Item[String]

"id" 속성이 키와 동일한 값으로 설정된 Json 사전에서 특정 요소를 조회합니다.

RadioSelected

전체 루트에서 현재 선택된 라디오 항목입니다.

(다음에서 상속됨 RootElement)

메서드

Add(IEnumerable<Section>)

IEnumerable의 모든 섹션을 이 루트 요소에 추가합니다.

(다음에서 상속됨 RootElement)
Add(Section)

이 RootElement에 새 섹션 추가

(다음에서 상속됨 RootElement)
Clear()

이 RootElement에서 모든 섹션을 제거합니다.

(다음에서 상속됨 RootElement)
Deselected(DialogViewController, UITableView, NSIndexPath)

Json 원본에서 인스턴스화된 RootElement입니다.

(다음에서 상속됨 Element)
Dispose()

Json 원본에서 인스턴스화된 RootElement입니다.

(다음에서 상속됨 Element)
Dispose(Boolean)

이 RootElement 및 해당 자식이 보유한 리소스를 해제합니다.

(다음에서 상속됨 RootElement)
FromFile(String)

지정된 경로에 있는 Json 파일의 콘텐츠에서 중첩된 콘텐츠를 사용하여 RootElement를 만듭니다.

FromFile(String, Object)

지정된 경로에 있는 Json 파일의 콘텐츠에서 중첩된 콘텐츠를 사용하여 RootElement를 만듭니다.

FromJson(JsonElement, JsonObject, Object)

Json 개체의 콘텐츠에서 중첩된 콘텐츠를 사용하여 RootElement를 만듭니다.

FromJson(JsonObject)

Json 개체의 콘텐츠에서 중첩된 콘텐츠를 사용하여 RootElement를 만듭니다.

FromJson(JsonObject, Object)

Json 개체의 콘텐츠에서 중첩된 콘텐츠를 사용하여 RootElement를 만듭니다.

GetActiveCell()

Json 원본에서 인스턴스화된 RootElement입니다.

(다음에서 상속됨 Element)
GetCell(UITableView)

Json 원본에서 인스턴스화된 RootElement입니다.

GetContainerTableView()

Json 원본에서 인스턴스화된 RootElement입니다.

(다음에서 상속됨 Element)
GetImmediateRootElement()

셀이 연결된 경우 즉시 RootElement가 반환됩니다.

(다음에서 상속됨 Element)
Insert(Int32, Section)

RootElement에 새 섹션을 삽입합니다.

(다음에서 상속됨 RootElement)
Insert(Int32, UITableViewRowAnimation, Section[])

Json 원본에서 인스턴스화된 RootElement입니다.

(다음에서 상속됨 RootElement)
MakeViewController()

Json 원본에서 인스턴스화된 RootElement입니다.

(다음에서 상속됨 RootElement)
Matches(String)

셀이 지정된 텍스트와 일치하는지 확인하기 위해 호출된 메서드로, null 값 또는 빈 문자열로 호출되지 않습니다.

(다음에서 상속됨 Element)
Prepare()

Json 원본에서 인스턴스화된 RootElement입니다.

(다음에서 상속됨 RootElement)
PrepareDialogViewController(UIViewController)

Json 원본에서 인스턴스화된 RootElement입니다.

(다음에서 상속됨 RootElement)
Reload(Element, UITableViewRowAnimation)

Json 원본에서 인스턴스화된 RootElement입니다.

(다음에서 상속됨 RootElement)
Reload(Section, UITableViewRowAnimation)

Json 원본에서 인스턴스화된 RootElement입니다.

(다음에서 상속됨 RootElement)
Remove(Section)

기본 애니메이션을 사용하여 이 RootElement에서 지정된 섹션을 제거합니다.

(다음에서 상속됨 RootElement)
Remove(Section, UITableViewRowAnimation)

Json 원본에서 인스턴스화된 RootElement입니다.

(다음에서 상속됨 RootElement)
RemoveAt(Int32)

기본 애니메이션을 사용하여 지정된 위치에서 섹션을 제거합니다.

(다음에서 상속됨 RootElement)
RemoveAt(Int32, UITableViewRowAnimation)

Json 원본에서 인스턴스화된 RootElement입니다.

(다음에서 상속됨 RootElement)
Selected(DialogViewController, UITableView, NSIndexPath)

Json 원본에서 인스턴스화된 RootElement입니다.

Summary()

자식 개체가 있는 RootElement의 결과로 렌더링하는 데 적합한 이 개체가 나타내는 값의 요약을 반환합니다.

(다음에서 상속됨 Element)

명시적 인터페이스 구현

IEnumerable.GetEnumerator()

RootElement의 모든 섹션을 반환하는 열거자입니다.

(다음에서 상속됨 RootElement)
IEnumerable<Section>.GetEnumerator()

이 RootElement의 모든 섹션을 반환하는 열거자입니다.

(다음에서 상속됨 RootElement)

적용 대상