Click or drag to resize
Akka.NETAkka.Configuration.Hocon Namespace
The Akka.Configuration.Hocon namespace contains classes used to interact with configuration values via their internal HOCON (Human-Optimized Config Object Notation) representation.
Classes
  ClassDescription
Public classAkkaConfigurationSection
This class represents a custom akka node within a configuration file.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="akka" type="Akka.Configuration.Hocon.AkkaConfigurationSection, Akka" />
  </configSections>
  <akka>
  ...
  </akka>
</configuration>
Public classCDataConfigurationElement
This class represents the base implementation for retrieving text from an XML CDATA node within a configuration file.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="akka" type="Akka.Configuration.Hocon.AkkaConfigurationSection, Akka" />
  </configSections>
  <akka>
    <hocon>
      &lt;![CDATA[
      ...
      ]]&gt;
    </hocon>
  </akka>
</configuration>
Public classHoconArray
This class represents an array element in a HOCON (Human-Optimized Config Object Notation) configuration string.
akka {
  cluster {
    seed-nodes = [
      "akka.tcp://ClusterSystem@127.0.0.1:2551",
      "akka.tcp://ClusterSystem@127.0.0.1:2552"]
  }
}
Public classHoconConfigurationElement
This class represents a custom HOCON (Human-Optimized Config Object Notation) node within a configuration file.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="akka" type="Akka.Configuration.Hocon.AkkaConfigurationSection, Akka" />
  </configSections>
  <akka>
    <hocon>
    ...
    </hocon>
  </akka>
</configuration>
Public classHoconLiteral
This class represents a string literal element in a HOCON (Human-Optimized Config Object Notation) configuration string.
akka {  
  actor {
    provider = "Akka.Remote.RemoteActorRefProvider, Akka.Remote"
  }
}
Public classHoconObject
This class represents an object element in a HOCON (Human-Optimized Config Object Notation) configuration string.
akka {  
  actor {
    debug {  
      receive = on 
      autoreceive = on
      lifecycle = on
      event-stream = on
      unhandled = on
    }
  }
}
Public classHoconRoot
This class represents the root element in a HOCON (Human-Optimized Config Object Notation) configuration string.
Public classHoconSubstitution
This class represents a substitution element in a HOCON (Human-Optimized Config Object Notation) configuration string.
akka {  
  defaultInstances = 10
  deployment{
    /user/time{
      nr-of-instances = $defaultInstances
    }
  }
}
Public classHoconTokenizer
This class contains methods used to tokenize HOCON (Human-Optimized Config Object Notation) configuration strings.
Public classHoconValue
This class represents the root type for a HOCON (Human-Optimized Config Object Notation) configuration object.
Public classParser
This class contains methods used to parse HOCON (Human-Optimized Config Object Notation) configuration strings.
Public classToken
This class represents a token within a HOCON (Human-Optimized Config Object Notation) configuration string.
Public classTokenizer
This class contains methods used to tokenize a string.
Interfaces
  InterfaceDescription
Public interfaceIHoconElement
This interface defines the contract needed to implement a HOCON (Human-Optimized Config Object Notation) element.
Public interfaceIMightBeAHoconObject
Marker interface to make it easier to retrieve HOCON (Human-Optimized Config Object Notation) objects for substitutions.
Enumerations
  EnumerationDescription
Public enumerationTokenType
This enumeration defines the different types of tokens found within a HOCON (Human-Optimized Config Object Notation) configuration string.