CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Server.ObjectFactoryLoader Class Reference

Class containing the default implementation for the FactoryLoader delegate used by the data portal host. More...

Inheritance diagram for Csla.Server.ObjectFactoryLoader:
Csla.Server.IObjectFactoryLoader

Public Member Functions

 ObjectFactoryLoader (ApplicationContext applicationContext)
 Creates an instance of the type.
Type GetFactoryType (string factoryName)
 Gets the type of the object factory.
object GetFactory (string factoryName)
 Creates an instance of an object factory object for use by the data portal.

Detailed Description

Class containing the default implementation for the FactoryLoader delegate used by the data portal host.

Constructor & Destructor Documentation

◆ ObjectFactoryLoader()

Csla.Server.ObjectFactoryLoader.ObjectFactoryLoader ( ApplicationContext applicationContext)
inline

Creates an instance of the type.

Parameters
applicationContext
Exceptions
ArgumentNullExceptionapplicationContext is null.

Member Function Documentation

◆ GetFactory()

object Csla.Server.ObjectFactoryLoader.GetFactory ( string factoryName)
inline

Creates an instance of an object factory object for use by the data portal.

Parameters
factoryNameAssembly 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
ArgumentExceptionfactoryName is null, string.Empty or only consists of white spaces.
InvalidOperationExceptionType 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
factoryNameAssembly qualified type name for the object factory class as provided from the ObjectFactory attribute on the business object.
Exceptions
ArgumentExceptionfactoryName is null, string.Empty or only consists of white spaces.
InvalidOperationExceptionType for factoryName could not be loaded.

Implements Csla.Server.IObjectFactoryLoader.


The documentation for this class was generated from the following file: