Click or drag to resize
Akka.NETParserParse Method
Parses the supplied HOCON configuration string into a root element.

Namespace:  Akka.Configuration.Hocon
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static HoconRoot Parse(
	string text,
	Func<string, HoconRoot> includeCallback
)

Parameters

text
Type: SystemString
The string that contains a HOCON configuration string.
includeCallback
Type: SystemFuncString, HoconRoot
Callback used to resolve includes

Return Value

Type: HoconRoot
The root element created from the supplied HOCON configuration string.
Exceptions
ExceptionCondition
FormatExceptionThis exception is thrown if an unresolved substitution or an unknown token is encountered.
ExceptionThis exception is thrown if the end of the file has been reached while trying to read a value.
See Also