CSLA.NET 5.4.2
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

Public Member Functions

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 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 48 of file 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 29 of file ObjectFactoryLoader.cs.