C# Class ExoWeb.ServiceRequest

Inheritance: IJsonSerializable
ファイルを表示 Open project: vc3/ExoWeb Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Returns the string representation of the current request.

Private Methods

Method Description
ApplyChanges ( ServiceResponse response ) : void

Apply changes and raises domain events.

IJsonSerializable ( JsonReader reader ) : object
IJsonSerializable ( JsonWriter writer ) : void
Invoke ( ModelTransaction initChanges ) : ServiceResponse

Outputs the JSON for the specified instance to the response stream.

PerformQueries ( ServiceResponse response, bool forLoad, bool forInit ) : void

Performs the queries for the current request, either to prepare the model before applying changes (forLoad = false), or to actually load the model and transmit the requested instances to the client.

ProcessInstance ( ModelInstance instance, ModelStepList steps, bool includeInResponse, bool inScope, bool forLoad, ServiceResponse response ) : void

Recursively builds up a list of instances to serialize.

ProcessQueryInstances ( ServiceResponse response, bool forLoad ) : void
RaiseEvents ( ServiceResponse response, ModelTransaction transaction ) : void

Raises domain events.

ServiceRequest ( ) : System

Method Details

ToString() public method

Returns the string representation of the current request.
public ToString ( ) : string
return string