Search Results for

    Show / Hide Table of Contents

    Class HoconArray

    This class represents an array element in a HOCON (Human-Optimized Config Object Notation) configuration string.

    akka {
      cluster {
        seed-nodes = [
          "akka.tcp://[email protected]:2551",
          "akka.tcp://[email protected]:2552"]
      }
    }
    Inheritance
    object
    List<HoconValue>
    HoconArray
    Implements
    IList<HoconValue>
    ICollection<HoconValue>
    IReadOnlyList<HoconValue>
    IReadOnlyCollection<HoconValue>
    IEnumerable<HoconValue>
    IList
    ICollection
    IEnumerable
    IHoconElement
    Inherited Members
    List<HoconValue>.Add(HoconValue)
    List<HoconValue>.AddRange(IEnumerable<HoconValue>)
    List<HoconValue>.AsReadOnly()
    List<HoconValue>.BinarySearch(HoconValue)
    List<HoconValue>.BinarySearch(HoconValue, IComparer<HoconValue>)
    List<HoconValue>.BinarySearch(int, int, HoconValue, IComparer<HoconValue>)
    List<HoconValue>.Clear()
    List<HoconValue>.Contains(HoconValue)
    List<HoconValue>.ConvertAll<TOutput>(Converter<HoconValue, TOutput>)
    List<HoconValue>.CopyTo(HoconValue[])
    List<HoconValue>.CopyTo(HoconValue[], int)
    List<HoconValue>.CopyTo(int, HoconValue[], int, int)
    List<HoconValue>.Exists(Predicate<HoconValue>)
    List<HoconValue>.Find(Predicate<HoconValue>)
    List<HoconValue>.FindAll(Predicate<HoconValue>)
    List<HoconValue>.FindIndex(int, int, Predicate<HoconValue>)
    List<HoconValue>.FindIndex(int, Predicate<HoconValue>)
    List<HoconValue>.FindIndex(Predicate<HoconValue>)
    List<HoconValue>.FindLast(Predicate<HoconValue>)
    List<HoconValue>.FindLastIndex(int, int, Predicate<HoconValue>)
    List<HoconValue>.FindLastIndex(int, Predicate<HoconValue>)
    List<HoconValue>.FindLastIndex(Predicate<HoconValue>)
    List<HoconValue>.ForEach(Action<HoconValue>)
    List<HoconValue>.GetEnumerator()
    List<HoconValue>.GetRange(int, int)
    List<HoconValue>.IndexOf(HoconValue)
    List<HoconValue>.IndexOf(HoconValue, int)
    List<HoconValue>.IndexOf(HoconValue, int, int)
    List<HoconValue>.Insert(int, HoconValue)
    List<HoconValue>.InsertRange(int, IEnumerable<HoconValue>)
    List<HoconValue>.LastIndexOf(HoconValue)
    List<HoconValue>.LastIndexOf(HoconValue, int)
    List<HoconValue>.LastIndexOf(HoconValue, int, int)
    List<HoconValue>.Remove(HoconValue)
    List<HoconValue>.RemoveAll(Predicate<HoconValue>)
    List<HoconValue>.RemoveAt(int)
    List<HoconValue>.RemoveRange(int, int)
    List<HoconValue>.Reverse()
    List<HoconValue>.Reverse(int, int)
    List<HoconValue>.Sort()
    List<HoconValue>.Sort(IComparer<HoconValue>)
    List<HoconValue>.Sort(Comparison<HoconValue>)
    List<HoconValue>.Sort(int, int, IComparer<HoconValue>)
    List<HoconValue>.ToArray()
    List<HoconValue>.TrimExcess()
    List<HoconValue>.TrueForAll(Predicate<HoconValue>)
    List<HoconValue>.Capacity
    List<HoconValue>.Count
    List<HoconValue>.this[int]
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Configuration.Hocon
    Assembly: Akka.dll
    Syntax
    public class HoconArray : List<HoconValue>, IList<HoconValue>, ICollection<HoconValue>, IReadOnlyList<HoconValue>, IReadOnlyCollection<HoconValue>, IEnumerable<HoconValue>, IList, ICollection, IEnumerable, IHoconElement

    Methods

    | Edit this page View Source

    GetArray()

    Retrieves a list of elements associated with this element.

    Declaration
    public IList<HoconValue> GetArray()
    Returns
    Type Description
    IList<HoconValue>

    A list of elements associated with this element.

    | Edit this page View Source

    GetString()

    N/A

    Declaration
    public string GetString()
    Returns
    Type Description
    string

    N/A

    Exceptions
    Type Condition
    NotImplementedException

    This exception is thrown automatically since this element is an array and not a string.

    | Edit this page View Source

    IsArray()

    Determines whether this element is an array.

    Declaration
    public bool IsArray()
    Returns
    Type Description
    bool

    true

    | Edit this page View Source

    IsString()

    Determines whether this element is a string.

    Declaration
    public bool IsString()
    Returns
    Type Description
    bool

    false

    | Edit this page View Source

    ToString()

    Returns a HOCON string representation of this element.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A HOCON string representation of this element.

    Overrides
    object.ToString()

    Implements

    IList<T>
    ICollection<T>
    IReadOnlyList<T>
    IReadOnlyCollection<T>
    IEnumerable<T>
    IList
    ICollection
    IEnumerable
    IHoconElement

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    EnumerableExtensions.Grouped<T>(IEnumerable<T>, int)
    Extensions.Concat<T>(IEnumerable<T>?, T)
    Extensions.Drop<T>(IEnumerable<T>, int)
    Extensions.ForEach<T>(IEnumerable<T>, Action<T>)
    Extensions.Head<T>(IEnumerable<T>)
    Extensions.TakeRight<T>(IEnumerable<T>, int)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET