9using System.Collections.Generic;
23 internal Type DashboardType {
get;
set; } = typeof(Server.Dashboard.NullDashboard);
32 DashboardType = typeof(T);
42 internal Type AuthorizerProviderType {
get;
set; } = typeof(
ActiveAuthorizer);
51 AuthorizerProviderType = typeof(T);
68 InterceptorProviders.Add(typeof(T));
79 InterceptorProviders.Insert(index, typeof(T));
89 InterceptorProviders.RemoveAt(index);
96 internal Type ExceptionInspectorType {
get;
set; } = typeof(DefaultExceptionInspector);
104 ExceptionInspectorType = typeof(T);
111 internal Type ActivatorType {
get;
set; } = typeof(DefaultDataPortalActivator);
119 ActivatorType = typeof(T);
140 ObjectFactoryLoaderType = typeof(T);
Server-side data portal options.
DataPortalServerOptions RemoveInterceptorProvider(int index)
Removes a type of an IInterceptDataPortal.
DataPortalServerOptions RegisterObjectFactoryLoader< T >()
Gets or sets the type name of the factor loader used to create server-side instances of business obje...
DataPortalServerOptions AddInterceptorProvider< T >()
Adds the type of an IInterceptDataPortal that will be executed by the server-side data portal.
DataPortalServerOptions RegisterActivator< T >()
Sets the type of the Activator.
DataPortalServerOptions RegisterExceptionInspector< T >()
Sets the type of the ExceptionInspector.
DataPortalServerOptions RegisterDashboard< T >()
Sets the type of the IDashboard to be used by the data portal.
DataPortalServerOptions RegisterAuthorizerProvider< T >()
Sets the type of the IDataPortalAuthorizer to be used by the data portal.
Implementation of the authorizer that checks per-type authorization rules for each request.
DataPortal interceptor to perform revalidation on business objects
Class containing the default implementation for the FactoryLoader delegate used by the data portal ho...
Interface to be implemented by a custom authorization provider.
Defines a type used to activate concrete business instances.
Implement this interface to check a DataPortalException before returning Exception to the client.
Implement this interface to create a data portal interceptor that is notified each time the data port...
Defines an interface to be implemented by a factory loader object that returns ObjectFactory objects ...