Show / Hide Table of Contents

    Class EnumerableBase<T>

    A base class for implementing an IEnumerable<T>

    Inheritance
    System.Object
    EnumerableBase<T>
    CollectionValueBase<T>
    Namespace: Lucene.Net.Support.C5
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class EnumerableBase<T> : System.Collections.Generic.IEnumerable<T>
    Type Parameters
    Name Description
    T

    Methods

    | Improve this Doc View Source

    countItems(System.Collections.Generic.IEnumerable<T>)

    Count the number of items in an enumerable by enumeration

    Declaration
    protected static int countItems(System.Collections.Generic.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 System.Collections.Generic.IEnumerator<T> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<T>

    The enumerator

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)