ManifestResourceXmlObjectFactory

Implements an IObjectFactory that reads the application context from embedded resources.

Namespace:
Inetdev.Context
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Inetdev.Context.ObjectFactory

Constructors

ManifestResourceXmlObjectFactory

Initializes a new instance of ManifestResourceXmlObjectFactory.

Signature:
public Void ManifestResourceXmlObjectFactory(resourceName, assembly)
Parameters
Name Type Summary
resourceName String The name of the embedded resource to load.
assembly Assembly The assembly where the embedded resource lives.
Exceptions
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