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.Hosts.Mobile.MobileRequestProcessor Class Reference

Object that processes all the requests from a client More...

Public Member Functions

async Task< MobileResponseCreate (MobileCriteriaRequest request)
 Create a new business object. More...
 
async Task< MobileResponseFetch (MobileCriteriaRequest request)
 Get an existing business object. More...
 
async Task< MobileResponseUpdate (MobileUpdateRequest request)
 Update a business object. More...
 
async Task< MobileResponseDelete (MobileCriteriaRequest request)
 Delete a business object. More...
 

Static Public Member Functions

static void ClearContext ()
 Clears the application context and current principal. More...
 

Properties

static IMobileFactoryLoader FactoryLoader [getset]
 Gets or sets a delegate reference to the method called to create instances of factory objects as requested by the MobileFactory attribute on a CSLA Light business object. More...
 

Detailed Description

Object that processes all the requests from a client

Definition at line 20 of file MobileRequestProcessor.cs.

Member Function Documentation

◆ ClearContext()

static void Csla.Server.Hosts.Mobile.MobileRequestProcessor.ClearContext ( )
static

Clears the application context and current principal.

Definition at line 364 of file MobileRequestProcessor.cs.

◆ Create()

async Task< MobileResponse > Csla.Server.Hosts.Mobile.MobileRequestProcessor.Create ( MobileCriteriaRequest  request)

Create a new business object.

Parameters
requestThe request parameter object.
Returns
Resulf of the create operation - an instance of a business object

Definition at line 62 of file MobileRequestProcessor.cs.

◆ Delete()

async Task< MobileResponse > Csla.Server.Hosts.Mobile.MobileRequestProcessor.Delete ( MobileCriteriaRequest  request)

Delete a business object.

Parameters
requestThe request parameter object.
Returns
Result of the delete operation

Definition at line 274 of file MobileRequestProcessor.cs.

◆ Fetch()

async Task< MobileResponse > Csla.Server.Hosts.Mobile.MobileRequestProcessor.Fetch ( MobileCriteriaRequest  request)

Get an existing business object.

Parameters
requestThe request parameter object.
Returns
Result of the fetch operation - an instance of a business object

Definition at line 133 of file MobileRequestProcessor.cs.

◆ Update()

async Task< MobileResponse > Csla.Server.Hosts.Mobile.MobileRequestProcessor.Update ( MobileUpdateRequest  request)

Update a business object.

Parameters
requestThe request parameter object.
Returns
Result of the update operation - updated object

Definition at line 206 of file MobileRequestProcessor.cs.

Property Documentation

◆ FactoryLoader

IMobileFactoryLoader Csla.Server.Hosts.Mobile.MobileRequestProcessor.FactoryLoader
staticgetset

Gets or sets a delegate reference to the method called to create instances of factory objects as requested by the MobileFactory attribute on a CSLA Light business object.

Definition at line 32 of file MobileRequestProcessor.cs.