| ConfigurationFactoryFromResource Method (String, Assembly) |
Retrieves a configuration defined in a resource of the supplied assembly.
Namespace:
Akka.Configuration
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public static Config FromResource(
string resourceName,
Assembly assembly
)
static member FromResource :
resourceName : string *
assembly : Assembly -> Config
Parameters
- resourceName
- Type: SystemString
The name of the resource that contains the configuration. - assembly
- Type: System.ReflectionAssembly
The assembly that contains the given resource.
Return Value
Type:
ConfigThe configuration defined in the assembly that contains the given resource.
See Also