CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
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 Csla.Test.DataPortalTest.SingleWithFactoryFactory

Public Member Functions

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

Detailed Description

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

Definition at line 18 of file Csla/Server/ObjectFactoryLoader.cs.

Constructor & Destructor Documentation

◆ ObjectFactoryLoader()

Csla.Server.ObjectFactoryLoader.ObjectFactoryLoader ( ApplicationContext  applicationContext)

Creates an instance of the type.

Parameters
applicationContext

Definition at line 24 of file Csla/Server/ObjectFactoryLoader.cs.

Member Function Documentation

◆ GetFactory()

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

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.

Implements Csla.Server.IObjectFactoryLoader.

Definition at line 59 of file Csla/Server/ObjectFactoryLoader.cs.

◆ GetFactoryType()

Type Csla.Server.ObjectFactoryLoader.GetFactoryType ( string  factoryName)

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.

Implements Csla.Server.IObjectFactoryLoader.

Definition at line 40 of file Csla/Server/ObjectFactoryLoader.cs.