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.
This is a Lucene.NET INTERNAL API, use at your own risk
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 SourceGet()
Declaration
public static SPIClassIterator<S> Get()
Returns
Type | Description |
---|---|
SPIClassIterator<S> |
GetEnumerator()
Declaration
public IEnumerator<Type> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<System.Type> |
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable