Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SPIClassIterator<S>

    Helper class for loading SPI classes from classpath (META-INF files). This is a light impl of java.util.ServiceLoader but is guaranteed to be bug-free regarding classpath order and does not instantiate or initialize the classes found.

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    Inheritance
    System.Object
    SPIClassIterator<S>
    Implements
    System.Collections.Generic.IEnumerable<System.Type>
    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.Util
    Assembly: Lucene.Net.dll
    Syntax
    public class SPIClassIterator<S> : IEnumerable<Type>, IEnumerable
    Type Parameters
    Name Description
    S

    Methods

    | Improve this Doc View Source

    Get()

    Declaration
    public static SPIClassIterator<S> Get()
    Returns
    Type Description
    SPIClassIterator<S>
    | Improve this Doc View Source

    GetEnumerator()

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

    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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.