Simpl.OODSS.Messages.RequestMessage.PerformService C# (CSharp) Method

PerformService() public abstract method

Perform the service associated with the request, using the supplied context as needed.
public abstract PerformService ( Scope clientSessionScope ) : ResponseMessage
clientSessionScope Scope Context to perform it in/with.
return ResponseMessage
        public abstract ResponseMessage PerformService(Scope<object> clientSessionScope);

Usage Example

 /// <summary>
 /// perform service that specified in the request message
 /// </summary>
 /// <param name="requestMessage">request message</param>
 /// <returns>response message</returns>
 protected virtual ResponseMessage PerformService(RequestMessage requestMessage)
 {
     return requestMessage.PerformService(LocalScope);
 }