C# Class CK.Text.JSONVisitor.Parent

Describes a parent object: it is the name of a property and its index or the index in a array.
Afficher le fichier Open project: Invenietis/ck-core

Méthodes publiques

Свойство Type Description
Index int
PropertyName string

Méthodes publiques

Méthode Description
Parent ( string propertyName, int index ) : System

Initializes a new parent object.

ToString ( ) : string

Overridden to return either PropertyName or [Index].

Method Details

Parent() public méthode

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.
Résultat System

ToString() public méthode

Overridden to return either PropertyName or [Index].
public ToString ( ) : string
Résultat string

Property Details

Index public_oe property

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
Résultat int

PropertyName public_oe property

The name of the property or null if this is an array entry.
public string PropertyName
Résultat string