Метод | Описание | |
---|---|---|
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. |
Метод | Описание | |
---|---|---|
OpenSearchParameterValueSet ( ) : System |
public AddExtraParameter ( string name ) : void | ||
name | string | The name of the parameter. |
Результат | void |
public static FromOpenSearchDescription ( |
||
osd | ||
format | string | |
Результат |
public static FromOpenSearchDescription ( |
||
osdUrl | An OpenSearchDescriptionUrl object from a deserialized OpenSearch description document. | |
namespaces | ||
Результат |
public static FromOpenSearchDescription ( string template, |
||
template | string | An OpenSearch template URL. |
origParams | ||
namespaces | ||
Результат |
public GetQueryString ( bool allParameters ) : string | ||
allParameters | bool | If set to |
Результат | string |
public GetValues ( bool allParameters ) : |
||
allParameters | bool | If set to |
Результат |
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". |
Результат | 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". |
Результат | string[] |
public GetValuesByName ( string name ) : string[] | ||
name | string | The parameter name, as in the query string. |
Результат | string[] |
protected OpenSearchParameterValueSet ( ) : System | ||
Результат | 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. |
Результат | 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. |
Результат | void |
public SetValueByName ( string name, string value ) : void | ||
name | string | The parameter name, as in the query string. |
value | string | |
Результат | void |
public SetValues ( |
||
values | The NameValueCollection containing the values to be used. | |
Результат | 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. |
Результат | 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 |
|
Результат | void |
public SetValuesByName ( string name, IEnumerable |
||
name | string | The parameter name, as in the query string. |
values | IEnumerable |
An array containing the values. |
Результат | void |
public TranslateFrom ( |
||
source | The OpenSearchParameterValueSet that serves as source. | |
verifyNamespaces | bool | If set to |
Результат | void |