Configuration object passed into builder classes to configure behaviour.
More...
Inherited by alfa.rt.codec.ReaderCodecConfig, and alfa.rt.codec.WriterCodecConfig.
Configuration object passed into builder classes to configure behaviour.
◆ BuilderConfig()
alfa.rt.BuilderConfig.BuilderConfig |
( |
RuntimeContext |
runtimeContext, |
|
|
Option< Assembly > |
assembly |
|
) |
| |
|
inline |
Create a configuration with the given runtime context
- Parameters
-
runtimeContext | Runtime context to be used in this configuration |
assembly | Assembly to be used to load Alfa types when decoding JSON |
◆ GetInstance()
Get the default configuration instance
- Returns
- A Builder configuration
◆ getRuntimeContext()
Get the runtime context assigned for this configuration
- Returns
- A runtime context object
The documentation for this class was generated from the following file:
- Alfa.Net.Runtime/src/main/alfa/rt/BuilderConfig.cs