C# Class Terradue.OpenSearch.Request.OpenSearchRequest

Base class to represent an OpenSearch request.
Mostra file Open project: Terradue/DotNetOpenSearch Class Usage Examples

Public Methods

Method Description
Create ( IOpenSearchable entity, QuerySettings querySettings, NameValueCollection parameters ) : OpenSearchRequest

Create an OpenSearchRequest based on the IOpenSearchable entity, type and parameters.

Create ( OpenSearchUrl queryUrl ) : OpenSearchRequest
GetResponse ( ) : IOpenSearchResponse

Protected Methods

Method Description
OpenSearchRequest ( OpenSearchUrl url, string contentType ) : System

Initializes a new instance of the Terradue.OpenSearch.OpenSearchRequest class.

Method Details

Create() public static method

Create an OpenSearchRequest based on the IOpenSearchable entity, type and parameters.
public static Create ( IOpenSearchable entity, QuerySettings querySettings, NameValueCollection parameters ) : OpenSearchRequest
entity IOpenSearchable IOpenSearchable Entity.
querySettings QuerySettings
parameters System.Collections.Specialized.NameValueCollection Parameters of the request.
return OpenSearchRequest

Create() public static method

public static Create ( OpenSearchUrl queryUrl ) : OpenSearchRequest
queryUrl OpenSearchUrl
return OpenSearchRequest

GetResponse() public abstract method

public abstract GetResponse ( ) : IOpenSearchResponse
return IOpenSearchResponse

OpenSearchRequest() protected method

Initializes a new instance of the Terradue.OpenSearch.OpenSearchRequest class.
protected OpenSearchRequest ( OpenSearchUrl url, string contentType ) : System
url OpenSearchUrl URL.
contentType string
return System