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.
Inherited Members
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public class SPIClassIterator<S> : IEnumerable<Type>, IEnumerable
Type Parameters
Name | Description |
---|---|
S |
Methods
Get()
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.
Declaration
public static SPIClassIterator<S> Get()
Returns
Type | Description |
---|---|
SPIClassIterator<S> |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<Type> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<Type> | An enumerator that can be used to iterate through the collection. |