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.Configuration.DataPortalServerOptions Class Reference

Server-side data portal options. More...

Public Member Functions

DataPortalServerOptions RegisterDashboard< T > ()
 Sets the type of the IDashboard to be used by the data portal. More...
 
DataPortalServerOptions RegisterAuthorizerProvider< T > ()
 Sets the type of the IDataPortalAuthorizer to be used by the data portal. More...
 
DataPortalServerOptions AddInterceptorProvider< T > ()
 Adds the type of an IInterceptDataPortal that will be executed by the server-side data portal. More...
 
DataPortalServerOptions AddInterceptorProvider< T > (int index)
 Adds the type of an IInterceptDataPortal that will be executed by the server-side data portal. More...
 
DataPortalServerOptions RemoveInterceptorProvider (int index)
 Removes a type of an IInterceptDataPortal. More...
 
DataPortalServerOptions RegisterExceptionInspector< T > ()
 Sets the type of the ExceptionInspector. More...
 
DataPortalServerOptions RegisterActivator< T > ()
 Sets the type of the Activator. More...
 
DataPortalServerOptions RegisterObjectFactoryLoader< T > ()
 Gets or sets the type name of the factor loader used to create server-side instances of business object factories when using the FactoryDataPortal model. More...
 

Detailed Description

Server-side data portal options.

Definition at line 17 of file DataPortalServerOptions.cs.

Member Function Documentation

◆ AddInterceptorProvider< T >() [1/2]

DataPortalServerOptions Csla.Configuration.DataPortalServerOptions.AddInterceptorProvider< T > ( )

Adds the type of an IInterceptDataPortal that will be executed by the server-side data portal.

Type Constraints
T :IInterceptDataPortal 

Definition at line 66 of file DataPortalServerOptions.cs.

◆ AddInterceptorProvider< T >() [2/2]

DataPortalServerOptions Csla.Configuration.DataPortalServerOptions.AddInterceptorProvider< T > ( int  index)

Adds the type of an IInterceptDataPortal that will be executed by the server-side data portal.

Parameters
indexIndex at which new item should be added.
Type Constraints
T :IInterceptDataPortal 

Definition at line 77 of file DataPortalServerOptions.cs.

◆ RegisterActivator< T >()

DataPortalServerOptions Csla.Configuration.DataPortalServerOptions.RegisterActivator< T > ( )

Sets the type of the Activator.

Template Parameters
T
Type Constraints
T :IDataPortalActivator 

Definition at line 117 of file DataPortalServerOptions.cs.

◆ RegisterAuthorizerProvider< T >()

DataPortalServerOptions Csla.Configuration.DataPortalServerOptions.RegisterAuthorizerProvider< T > ( )

Sets the type of the IDataPortalAuthorizer to be used by the data portal.

Template Parameters
T
Type Constraints
T :IAuthorizeDataPortal 

Definition at line 49 of file DataPortalServerOptions.cs.

◆ RegisterDashboard< T >()

DataPortalServerOptions Csla.Configuration.DataPortalServerOptions.RegisterDashboard< T > ( )

Sets the type of the IDashboard to be used by the data portal.

Template Parameters
T
Type Constraints
T :Server.Dashboard.IDashboard 

Definition at line 30 of file DataPortalServerOptions.cs.

◆ RegisterExceptionInspector< T >()

DataPortalServerOptions Csla.Configuration.DataPortalServerOptions.RegisterExceptionInspector< T > ( )

Sets the type of the ExceptionInspector.

Template Parameters
T
Type Constraints
T :IDataPortalExceptionInspector 

Definition at line 102 of file DataPortalServerOptions.cs.

◆ RegisterObjectFactoryLoader< T >()

DataPortalServerOptions Csla.Configuration.DataPortalServerOptions.RegisterObjectFactoryLoader< T > ( )

Gets or sets the type name of the factor loader used to create server-side instances of business object factories when using the FactoryDataPortal model.

Type must implement IObjectFactoryLoader.

Template Parameters
T
Type Constraints
T :IObjectFactoryLoader 

Definition at line 138 of file DataPortalServerOptions.cs.

◆ RemoveInterceptorProvider()

DataPortalServerOptions Csla.Configuration.DataPortalServerOptions.RemoveInterceptorProvider ( int  index)

Removes a type of an IInterceptDataPortal.

Parameters
indexIndex from which item will be removed.

Definition at line 87 of file DataPortalServerOptions.cs.