Interface ICodecFactory
Contract for extending the functionality of Codec implementations so they can be injected with dependencies.
To set the ICodecFactory, call SetCodecFactory(ICodecFactory).
See the Lucene.Net.Codecs namespace documentation for some common usage examples.
Namespace: Lucene.Net.Codecs
Assembly: Lucene.Net.dll
Syntax
public interface ICodecFactory
Methods
| Improve this Doc View SourceGetCodec(String)
Gets the Codec instance from the provided name
.
Declaration
Codec GetCodec(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the Codec instance to retrieve. |
Returns
Type | Description |
---|---|
Codec | The Codec instance. |