Implements an IObjectFactory that reads the application context from embedded resources.
Initializes a new instance of ManifestResourceXmlObjectFactory.
public Void ManifestResourceXmlObjectFactory(resourceName, assembly)
Name | Type | Summary |
---|---|---|
resourceName | String | The name of the embedded resource to load. |
assembly | Assembly | The assembly where the embedded resource lives. |
Type | Summary |
---|---|
ArgumentNullOrEmptyException | Thrown when resourceName is null or empty. |
ArgumentNullException | Thrown when assembly is null. |
ContextConfigurationException | Thrown when the Xml document is not valid. |
In this document