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.Test.DataPortal.TestActivator Class Reference
Inheritance diagram for Csla.Test.DataPortal.TestActivator:
Csla.Server.IDataPortalActivator

Public Member Functions

object CreateInstance (Type requestedType)
 Gets a new instance of the requested type. More...
 
void InitializeInstance (object obj)
 Initializes an existing business object instance. More...
 
void FinalizeInstance (object obj)
 Finalizes an existing business object instance. More...
 
Type ResolveType (Type requestedType)
 Gets the actual business domain class type based on the requested type (which might be an interface). More...
 

Detailed Description

Definition at line 272 of file InterceptorTests.cs.

Member Function Documentation

◆ CreateInstance()

object Csla.Test.DataPortal.TestActivator.CreateInstance ( Type  requestedType)

Gets a new instance of the requested type.

Parameters
requestedTypeRequested business type (class or interface).
Returns
Business object instance.

Implements Csla.Server.IDataPortalActivator.

Definition at line 274 of file InterceptorTests.cs.

◆ FinalizeInstance()

void Csla.Test.DataPortal.TestActivator.FinalizeInstance ( object  obj)

Finalizes an existing business object instance.

Called after a data portal operation is complete.

Parameters
objReference to the business object.

Implements Csla.Server.IDataPortalActivator.

Definition at line 285 of file InterceptorTests.cs.

◆ InitializeInstance()

void Csla.Test.DataPortal.TestActivator.InitializeInstance ( object  obj)

Initializes an existing business object instance.

Parameters
objReference to the business object.

Implements Csla.Server.IDataPortalActivator.

Definition at line 280 of file InterceptorTests.cs.

◆ ResolveType()

Type Csla.Test.DataPortal.TestActivator.ResolveType ( Type  requestedType)

Gets the actual business domain class type based on the requested type (which might be an interface).

Parameters
requestedTypeType requested from the data portal.

Implements Csla.Server.IDataPortalActivator.

Definition at line 290 of file InterceptorTests.cs.