| ConfigurationFactoryFromResource Method (String, Object) |
Retrieves a configuration defined in a resource of the
assembly containing the supplied instance object.
Namespace:
Akka.Configuration
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public static Config FromResource(
string resourceName,
Object instanceInAssembly
)
static member FromResource :
resourceName : string *
instanceInAssembly : Object -> Config
Parameters
- resourceName
- Type: SystemString
The name of the resource that contains the configuration. - instanceInAssembly
- Type: SystemObject
An instance object located in the assembly to search.
Return Value
Type:
ConfigThe configuration defined in the assembly that contains the instanced object.
See Also