C# Class SfSdk.Request.SnFUriWrapper

A helper class to assemble a S&F request Uris more easily.
Inheritance: IUriWrapper
Mostrar archivo Open project: ebeeb/SfSdk Class Usage Examples

Public Methods

Method Description
SnFUriWrapper ( string sessionId, Uri serverUri, SF action, IEnumerable args = null ) : System

Creates a instance of SnFUriWrapper.

Private Methods

Method Description
BuildRequestUri ( ) : Uri

Method Details

SnFUriWrapper() public method

Creates a instance of SnFUriWrapper.
When sessionId or serverUri is null. When sessionId has not a length of 32.
public SnFUriWrapper ( string sessionId, Uri serverUri, SF action, IEnumerable args = null ) : System
sessionId string A valid session ID, with the length of 32. is used for logging in.
serverUri System.Uri The server URI where the request is going to be received on.
action SF The action which shall be executed. See which start with "Act".
args IEnumerable Additional arguments like e.g. the search string for searches or the user credentials for logging in.
return System