Show / Hide Table of Contents

    Class Neighbours

    Inheritance
    System.Object
    System.Collections.Concurrent.ConcurrentQueue<INeighbour>
    Neighbours
    Implements
    System.Collections.Concurrent.IProducerConsumerCollection<INeighbour>
    System.Collections.ICollection
    INeighbours
    System.Collections.Generic.IReadOnlyCollection<INeighbour>
    System.Collections.Generic.IEnumerable<INeighbour>
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.Clear()
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.CopyTo(Catalyst.Abstractions.P2P.Discovery.INeighbour[], System.Int32)
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.Enqueue(Catalyst.Abstractions.P2P.Discovery.INeighbour)
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.GetEnumerator()
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.System.Collections.Concurrent.IProducerConsumerCollection<Catalyst.Abstractions.P2P.Discovery.INeighbour>.TryAdd(Catalyst.Abstractions.P2P.Discovery.INeighbour)
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.System.Collections.Concurrent.IProducerConsumerCollection<Catalyst.Abstractions.P2P.Discovery.INeighbour>.TryTake(Catalyst.Abstractions.P2P.Discovery.INeighbour)
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.System.Collections.IEnumerable.GetEnumerator()
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.ToArray()
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.TryDequeue(Catalyst.Abstractions.P2P.Discovery.INeighbour)
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.TryPeek(Catalyst.Abstractions.P2P.Discovery.INeighbour)
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.Count
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.IsEmpty
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.System.Collections.ICollection.IsSynchronized
    System.Collections.Concurrent.ConcurrentQueue<Catalyst.Abstractions.P2P.Discovery.INeighbour>.System.Collections.ICollection.SyncRoot
    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)
    Namespace: Catalyst.Core.Lib.P2P.Discovery
    Assembly: Catalyst.Core.Lib.dll
    Syntax
    public class Neighbours : ConcurrentQueue<INeighbour>, IProducerConsumerCollection<INeighbour>, ICollection, INeighbours, IReadOnlyCollection<INeighbour>, IEnumerable<INeighbour>, IEnumerable

    Constructors

    | Improve this Doc View Source

    Neighbours(IEnumerable<INeighbour>)

    Declaration
    public Neighbours(IEnumerable<INeighbour> neighbours = null)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<INeighbour> neighbours

    Methods

    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Implements

    System.Collections.Concurrent.IProducerConsumerCollection<T>
    System.Collections.ICollection
    INeighbours
    System.Collections.Generic.IReadOnlyCollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.Sum<T>(IEnumerable<T>, Func<T, UInt64>)
    EnumerableExtensions.Sum<T>(IEnumerable<T>, Func<T, UInt256>)
    RandomElementExtension.RandomSample<T>(IEnumerable<T>, Int32)
    RandomElementExtension.RandomElement<T>(IEnumerable<T>)
    RandomElementExtension.Shuffle<T>(IEnumerable<T>)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network