Class JPropertyKeyedCollection
Inheritance
System.Object
System.Collections.ObjectModel.Collection<JToken>
JPropertyKeyedCollection
Implements
System.Collections.Generic.IList<JToken>
System.Collections.Generic.ICollection<JToken>
System.Collections.Generic.IReadOnlyList<JToken>
System.Collections.Generic.IReadOnlyCollection<JToken>
System.Collections.Generic.IEnumerable<JToken>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Add(Bayat.Json.Linq.JToken)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Clear()
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Contains(Bayat.Json.Linq.JToken)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.CopyTo(Bayat.Json.Linq.JToken[], System.Int32)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.GetEnumerator()
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.IndexOf(Bayat.Json.Linq.JToken)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Insert(System.Int32, Bayat.Json.Linq.JToken)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Remove(Bayat.Json.Linq.JToken)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Count
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Items
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.Generic.ICollection<Bayat.Json.Linq.JToken>.IsReadOnly
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.IsFixedSize
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.Item[System.Int32]
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Bayat.Json.Linq
Assembly: Bayat.Json.Runtime.dll
Syntax
public class JPropertyKeyedCollection : Collection<JToken>, IList<JToken>, ICollection<JToken>, IReadOnlyList<JToken>, IReadOnlyCollection<JToken>, IEnumerable<JToken>, IList, ICollection, IEnumerable
Constructors
| Improve this Doc View SourceJPropertyKeyedCollection()
Declaration
public JPropertyKeyedCollection()
Properties
| Improve this Doc View SourceItem[String]
Declaration
public JToken this[string key] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Property Value
Type | Description |
---|---|
JToken |
Keys
Declaration
public ICollection<string> Keys { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<System.String> |
Values
Declaration
public ICollection<JToken> Values { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<JToken> |
Methods
| Improve this Doc View SourceChangeItemKey(JToken, String)
Declaration
protected void ChangeItemKey(JToken item, string newKey)
Parameters
Type | Name | Description |
---|---|---|
JToken | item | |
System.String | newKey |
ClearItems()
Declaration
protected override void ClearItems()
Overrides
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.ClearItems()
|
Improve this Doc
View Source
Compare(JPropertyKeyedCollection)
Declaration
public bool Compare(JPropertyKeyedCollection other)
Parameters
Type | Name | Description |
---|---|---|
JPropertyKeyedCollection | other |
Returns
Type | Description |
---|---|
System.Boolean |
Contains(String)
Declaration
public bool Contains(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Returns
Type | Description |
---|---|
System.Boolean |
IndexOfReference(JToken)
Declaration
public int IndexOfReference(JToken t)
Parameters
Type | Name | Description |
---|---|---|
JToken | t |
Returns
Type | Description |
---|---|
System.Int32 |
InsertItem(Int32, JToken)
Declaration
protected override void InsertItem(int index, JToken item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
JToken | item |
Overrides
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.InsertItem(System.Int32, Bayat.Json.Linq.JToken)
|
Improve this Doc
View Source
Remove(String)
Declaration
public bool Remove(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Returns
Type | Description |
---|---|
System.Boolean |
RemoveItem(Int32)
Declaration
protected override void RemoveItem(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Overrides
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.RemoveItem(System.Int32)
|
Improve this Doc
View Source
SetItem(Int32, JToken)
Declaration
protected override void SetItem(int index, JToken item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
JToken | item |
Overrides
System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.SetItem(System.Int32, Bayat.Json.Linq.JToken)
|
Improve this Doc
View Source
TryGetValue(String, out JToken)
Declaration
public bool TryGetValue(string key, out JToken value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
JToken | value |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable