Esempio n. 1
0
 /// <summary>
 /// Inserts the given property into the given index location.
 /// </summary>
 /// <param name="index">Index to insert the property at</param>
 /// <param name="toInsert">The property to insert</param>
 public void Insert(int index, JsonProperty toInsert)
 {
     this.properties.Insert(index, toInsert);
 }
Esempio n. 2
0
 /// <summary>
 /// Adds the given property to the JsonObject
 /// </summary>
 /// <param name="toAdd">The property to add</param>
 public void Add(JsonProperty toAdd)
 {
     this.properties.Add(toAdd);
 }