Method ScanForCodecs
ScanForCodecs(IEnumerable<Assembly>)
Scans the given assemblies
for subclasses of Codec
and adds their names to the Lucene.Net.Codecs.DefaultCodecFactory.codecNameToTypeMap. Note that names will be
automatically overridden if the Codec name appears multiple times - the last match wins.
Declaration
protected virtual void ScanForCodecs(IEnumerable<Assembly> assemblies)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Assembly> | assemblies | A list of assemblies to scan. The assemblies will be scanned from first to last, and the last match for each Codec name wins. |
ScanForCodecs(Assembly)
Scans the given assembly
for subclasses of Codec
and adds their names to the Lucene.Net.Codecs.DefaultCodecFactory.codecNameToTypeMap. Note that names will be
automatically overridden if the Codec name appears multiple times - the last match wins.
Declaration
protected virtual void ScanForCodecs(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
Assembly | assembly | The assembly to scan. |