Show / Hide Table of Contents

    Class EnumerableBase<T>

    A base class for implementing an IEnumerable<T>

    Inheritance
    System.Object
    EnumerableBase<T>
    CollectionValueBase<T>
    Implements
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Inherited Members
    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: Lucene.Net.Support.C5
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class EnumerableBase<T> : IEnumerable<T>, IEnumerable
    Type Parameters
    Name Description
    T

    Methods

    | Improve this Doc View Source

    countItems(IEnumerable<T>)

    Count the number of items in an enumerable by enumeration

    Declaration
    protected static int countItems(IEnumerable<T> items)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<T> items

    The enumerable to count

    Returns
    Type Description
    System.Int32

    The size of the enumerable

    | Improve this Doc View Source

    GetEnumerator()

    Create an enumerator for this collection.

    Declaration
    public abstract IEnumerator<T> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<T>

    The enumerator

    Explicit Interface Implementations

    | Improve this Doc View Source

    IEnumerable.GetEnumerator()

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.InPairs<T, TOut>(IEnumerable<T>, Func<T, T, TOut>)
    Number.IsNumber(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)