Class containing the default implementation for the FactoryLoader delegate used by the data portal host.
More...
Class containing the default implementation for the FactoryLoader delegate used by the data portal host.
◆ ObjectFactoryLoader()
| Csla.Server.ObjectFactoryLoader.ObjectFactoryLoader |
( |
ApplicationContext | applicationContext | ) |
|
|
inline |
Creates an instance of the type.
- Parameters
-
- Exceptions
-
| ArgumentNullException | applicationContext is null. |
◆ GetFactory()
| object Csla.Server.ObjectFactoryLoader.GetFactory |
( |
string | factoryName | ) |
|
|
inline |
Creates an instance of an object factory object for use by the data portal.
- Parameters
-
| factoryName | Assembly qualified type name for the object factory class as provided from the ObjectFactory attribute on the business object. |
- Returns
- An instance of the type specified by the type name parameter.
- Exceptions
-
| ArgumentException | factoryName is null, string.Empty or only consists of white spaces. |
| InvalidOperationException | Type for factoryName could not be loaded. |
Implements Csla.Server.IObjectFactoryLoader.
◆ GetFactoryType()
| Type Csla.Server.ObjectFactoryLoader.GetFactoryType |
( |
string | factoryName | ) |
|
|
inline |
Gets the type of the object factory.
- Parameters
-
| factoryName | Assembly qualified type name for the object factory class as provided from the ObjectFactory attribute on the business object. |
- Exceptions
-
| ArgumentException | factoryName is null, string.Empty or only consists of white spaces. |
| InvalidOperationException | Type for factoryName could not be loaded. |
Implements Csla.Server.IObjectFactoryLoader.
The documentation for this class was generated from the following file: