C# 클래스 CK.Text.JSONVisitor.Parent

Describes a parent object: it is the name of a property and its index or the index in a array.
파일 보기 프로젝트 열기: Invenietis/ck-core

공개 프로퍼티들

프로퍼티 타입 설명
Index int
PropertyName string

공개 메소드들

메소드 설명
Parent ( string propertyName, int index ) : System

Initializes a new parent object.

ToString ( ) : string

Overridden to return either PropertyName or [Index].

메소드 상세

Parent() 공개 메소드

Initializes a new parent object.
public Parent ( string propertyName, int index ) : System
propertyName string Name of the property. Null for an array entry.
index int Index of the property or index in an array.
리턴 System

ToString() 공개 메소드

Overridden to return either PropertyName or [Index].
public ToString ( ) : string
리턴 string

프로퍼티 상세

Index 공개적으로 프로퍼티

The index in the array or the property number (the count of properties that appear before this one in the object definition).
public int Index
리턴 int

PropertyName 공개적으로 프로퍼티

The name of the property or null if this is an array entry.
public string PropertyName
리턴 string