Method | Description | |
---|---|---|
AddExtraParameter ( string name ) : void |
Adds an extra parameter not defined by the OpenSearch description. This method can be useful if there are unpublicized OpenSearch parameters that need to be set. In such cases it is necessary to add the parameter definition before setting its value. |
|
FromOpenSearchDescription ( |
Creates an OpenSearchParameterValueSet instance based on the specified OpenSearchDescriptionUrl object.
|
|
FromOpenSearchDescription ( |
Creates an OpenSearchParameterValueSet instance based on the specified OpenSearchDescriptionUrl object.
|
|
FromOpenSearchDescription ( string template, |
Creates an OpenSearchParameterValueSet instance based on the specified OpenSearch template and optional additional parameter information.
|
|
GetQueryString ( bool allParameters ) : string |
Gets a NameValueCollection representing the parameters and their values.
|
|
GetValues ( bool allParameters ) : |
Gets a NameValueCollection representing the parameters and their values.
|
|
GetValuesByIdentifier ( string identifier ) : string[] |
Returns the values of the parameter specified by its identifier.
|
|
GetValuesByIdentifier ( string namespaceUri, string localName ) : string[] |
Returns the values of the parameter specified by its identifier namespace URI and local name.
|
|
GetValuesByName ( string name ) : string[] |
Returns the values of the parameter specified by its name.
|
|
SetValueByIdentifier ( string identifier, string value ) : void |
Sets the value for the OpenSearch parameter specified by its identifier.
|
|
SetValueByIdentifier ( string namespaceUri, string localName, string value ) : void |
Sets the value for the OpenSearch parameter specified by its identifier namespace URI and local name.
|
|
SetValueByName ( string name, string value ) : void |
Sets the value for the OpenSearch parameter specified by its name.
|
|
SetValues ( |
Sets the parameter values based on the specified NameValueCollection. Only matching parameters are taken into account. The match is made by the query string name of the parameter. |
|
SetValuesByIdentifier ( string identifier, IEnumerable |
Sets multiple values for the OpenSearch parameter specified by its identifier.
|
|
SetValuesByIdentifier ( string namespaceUri, string localName, IEnumerable |
Sets multiple values for the OpenSearch parameter specified by its identifier namespace URI and local name.
|
|
SetValuesByName ( string name, IEnumerable |
Sets multiple values for the OpenSearch parameter specified by its name.
|
|
TranslateFrom ( |
Sets the parameter values based on the values of another instance. Only matching parameters are taken into account. The match is made by the fully qualified identifier of the OpenSearch parameters. In the default case it is assumed that the namespace prefixes used for the identifiers refer to the same namespaces in both value sets, however, the namespaces can be verified fully. |
Method | Description | |
---|---|---|
OpenSearchParameterValueSet ( ) : System |
public AddExtraParameter ( string name ) : void | ||
name | string | The name of the parameter. |
return | void |
public static FromOpenSearchDescription ( |
||
osd | ||
format | string | |
return |
public static FromOpenSearchDescription ( |
||
osdUrl | An OpenSearchDescriptionUrl object from a deserialized OpenSearch description document. | |
namespaces | ||
return |
public static FromOpenSearchDescription ( string template, |
||
template | string | An OpenSearch template URL. |
origParams | ||
namespaces | ||
return |
public GetQueryString ( bool allParameters ) : string | ||
allParameters | bool | If set to |
return | string |
public GetValues ( bool allParameters ) : |
||
allParameters | bool | If set to |
return |
public GetValuesByIdentifier ( string identifier ) : string[] | ||
identifier | string | The parameter identifier, i.e. the fully qualified identifier between the curly brackets in the OpenSearch description URL template, e.g. "geo:box". |
return | string[] |
public GetValuesByIdentifier ( string namespaceUri, string localName ) : string[] | ||
namespaceUri | string | The namespace URI part of the fully qualified identifier of this parameter as defined in the OpenSearch description URL template, e.g. "http://a9.com/-/opensearch/extensions/geo/1.0/". |
localName | string | The local name part of the fully qualified identifier of this parameter as defined in the OpenSearch description URL template, e.g. "box". |
return | string[] |
public GetValuesByName ( string name ) : string[] | ||
name | string | The parameter name, as in the query string. |
return | string[] |
protected OpenSearchParameterValueSet ( ) : System | ||
return | System |
public SetValueByIdentifier ( string identifier, string value ) : void | ||
identifier | string | The parameter identifier, i.e. the fully qualified identifier between the curly brackets in the OpenSearch description URL template, e.g. "geo:box". |
value | string | The value. |
return | void |
public SetValueByIdentifier ( string namespaceUri, string localName, string value ) : void | ||
namespaceUri | string | The namespace URI part of the fully qualified identifier of this parameter as defined in the OpenSearch description URL template, e.g. "http://a9.com/-/opensearch/extensions/geo/1.0/". |
localName | string | The local name part of the fully qualified identifier of this parameter as defined in the OpenSearch description URL template, e.g. "box". |
value | string | The value. |
return | void |
public SetValueByName ( string name, string value ) : void | ||
name | string | The parameter name, as in the query string. |
value | string | |
return | void |
public SetValues ( |
||
values | The NameValueCollection containing the values to be used. | |
return | void |
public SetValuesByIdentifier ( string identifier, IEnumerable |
||
identifier | string | The parameter identifier, i.e. the fully qualified identifier between the curly brackets in the OpenSearch description URL template, e.g. "geo:box". |
values | IEnumerable |
An array containing the values. |
return | void |
public SetValuesByIdentifier ( string namespaceUri, string localName, IEnumerable |
||
namespaceUri | string | The namespace URI part of the fully qualified identifier of this parameter as defined in the OpenSearch description URL template, e.g. "http://a9.com/-/opensearch/extensions/geo/1.0/". |
localName | string | The local name part of the fully qualified identifier of this parameter as defined in the OpenSearch description URL template, e.g. "box". |
values | IEnumerable |
|
return | void |
public SetValuesByName ( string name, IEnumerable |
||
name | string | The parameter name, as in the query string. |
values | IEnumerable |
An array containing the values. |
return | void |
public TranslateFrom ( |
||
source | The OpenSearchParameterValueSet that serves as source. | |
verifyNamespaces | bool | If set to |
return | void |