C# Runtime  0.8
Public Member Functions | Static Public Member Functions | Properties | List of all members
alfa.rt.BuilderConfig Class Reference

Configuration object passed into builder classes to configure behaviour. More...

Inherited by alfa.rt.codec.ReaderCodecConfig, and alfa.rt.codec.WriterCodecConfig.

Public Member Functions

 BuilderConfig (RuntimeContext runtimeContext, Option< Assembly > assembly)
 Create a configuration with the given runtime context More...
 
RuntimeContext getRuntimeContext ()
 Get the runtime context assigned for this configuration More...
 

Static Public Member Functions

static BuilderConfig GetInstance ()
 Get the default configuration instance More...
 

Properties

Assembly Assembly [get]
 

Detailed Description

Configuration object passed into builder classes to configure behaviour.

Constructor & Destructor Documentation

◆ BuilderConfig()

alfa.rt.BuilderConfig.BuilderConfig ( RuntimeContext  runtimeContext,
Option< Assembly >  assembly 
)
inline

Create a configuration with the given runtime context

Parameters
runtimeContextRuntime context to be used in this configuration
assemblyAssembly to be used to load Alfa types when decoding JSON

Member Function Documentation

◆ GetInstance()

static BuilderConfig alfa.rt.BuilderConfig.GetInstance ( )
inlinestatic

Get the default configuration instance

Returns
A Builder configuration

◆ getRuntimeContext()

RuntimeContext alfa.rt.BuilderConfig.getRuntimeContext ( )
inline

Get the runtime context assigned for this configuration

Returns
A runtime context object

The documentation for this class was generated from the following file: