Show / Hide Table of Contents

    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 Source

    JPropertyKeyedCollection()

    Declaration
    public JPropertyKeyedCollection()

    Properties

    | Improve this Doc View Source

    Item[String]

    Declaration
    public JToken this[string key] { get; }
    Parameters
    Type Name Description
    System.String key
    Property Value
    Type Description
    JToken
    | Improve this Doc View Source

    Keys

    Declaration
    public ICollection<string> Keys { get; }
    Property Value
    Type Description
    System.Collections.Generic.ICollection<System.String>
    | Improve this Doc View Source

    Values

    Declaration
    public ICollection<JToken> Values { get; }
    Property Value
    Type Description
    System.Collections.Generic.ICollection<JToken>

    Methods

    | Improve this Doc View Source

    ChangeItemKey(JToken, String)

    Declaration
    protected void ChangeItemKey(JToken item, string newKey)
    Parameters
    Type Name Description
    JToken item
    System.String newKey
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Contains(String)

    Declaration
    public bool Contains(string key)
    Parameters
    Type Name Description
    System.String key
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IndexOfReference(JToken)

    Declaration
    public int IndexOfReference(JToken t)
    Parameters
    Type Name Description
    JToken t
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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

    Extension Methods

    Extensions.Ancestors<T>(IEnumerable<T>)
    Extensions.AncestorsAndSelf<T>(IEnumerable<T>)
    Extensions.Values(IEnumerable<JToken>, Object)
    Extensions.Values(IEnumerable<JToken>)
    Extensions.Values<U>(IEnumerable<JToken>, Object)
    Extensions.Values<U>(IEnumerable<JToken>)
    Extensions.Value<U>(IEnumerable<JToken>)
    Extensions.Value<T, U>(IEnumerable<T>)
    Extensions.Values<T, U>(IEnumerable<T>, Object)
    Extensions.Children<T>(IEnumerable<T>)
    Extensions.Children<T, U>(IEnumerable<T>)
    Extensions.Convert<T, U>(IEnumerable<T>)
    Extensions.AsJEnumerable(IEnumerable<JToken>)
    Extensions.AsJEnumerable<T>(IEnumerable<T>)
    CollectionUtils.AddRange<T>(IList<T>, IEnumerable<T>)
    CollectionUtils.AddDistinct<T>(IList<T>, T)
    CollectionUtils.AddDistinct<T>(IList<T>, T, IEqualityComparer<T>)
    CollectionUtils.ContainsValue<TSource>(IEnumerable<TSource>, TSource, IEqualityComparer<TSource>)
    CollectionUtils.AddRangeDistinct<T>(IList<T>, IEnumerable<T>, IEqualityComparer<T>)
    CollectionUtils.IndexOf<T>(IEnumerable<T>, Func<T, Boolean>)
    StringUtils.ForgivingCaseSensitiveFind<TSource>(IEnumerable<TSource>, Func<TSource, String>, String)
    StringExtensions.ToSeparatedString(IEnumerable, String)
    StringExtensions.ToCommaSeparatedString(IEnumerable)
    StringExtensions.ToLineSeparatedString(IEnumerable)
    • Improve this Doc
    • View Source
    • 0 Comments
    In This Article
    • Constructors
      • JPropertyKeyedCollection()
    • Properties
      • Item[String]
      • Keys
      • Values
    • Methods
      • ChangeItemKey(JToken, String)
      • ClearItems()
      • Compare(JPropertyKeyedCollection)
      • Contains(String)
      • IndexOfReference(JToken)
      • InsertItem(Int32, JToken)
      • Remove(String)
      • RemoveItem(Int32)
      • SetItem(Int32, JToken)
      • TryGetValue(String, out JToken)
    • Implements
    • Extension Methods