Class SelectListResult
Select list values.
Inheritance
Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public class SelectListResult : IRelationsWithProxy
Properties
FirstRelationLink
Gets the Uri of the link for the relation “first”.
Declaration
public string FirstRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “first” if it exists, or
Links
Declaration
public Link[] Links { get; set; }
Property Value
Type | Description |
---|---|
Link[] |
NextRelationLink
Gets the Uri of the link for the relation “next”.
Declaration
public string NextRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “next” if it exists, or
PrevRelationLink
Gets the Uri of the link for the relation “prev”.
Declaration
public string PrevRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “prev” if it exists, or
SelfRelationLink
Gets the Uri of the link for the relation “self”.
Declaration
public string SelfRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “self” if it exists, or
TypedValue
Declaration
public List<DocumentIndexFieldValue> TypedValue { get; set; }
Property Value
Type | Description |
---|---|
List<DocumentIndexFieldValue> |
Value
Select list values.
Declaration
public List<string> Value { get; set; }
Property Value
Type | Description |
---|---|
List<System.String> |
Methods
GetSelectListResultFromFirstRelation()
Calls the HTTP Get method on the link for the relation “first”.
Declaration
public SelectListResult GetSelectListResultFromFirstRelation()
Returns
Type | Description |
---|---|
SelectListResult | The content of the response. |
GetSelectListResultFromFirstRelationAsync()
Calls the HTTP Get method on the link for the relation “first” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromFirstRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> | A task which runs the request. |
Remarks
This method follows the link for the relation “first”.
GetSelectListResultFromFirstRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “first” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromFirstRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> | A task which runs the request. |
Remarks
This method follows the link for the relation “first”.
GetSelectListResultFromNextRelation()
Calls the HTTP Get method on the link for the relation “next”.
Declaration
public SelectListResult GetSelectListResultFromNextRelation()
Returns
Type | Description |
---|---|
SelectListResult | The content of the response. |
GetSelectListResultFromNextRelationAsync()
Calls the HTTP Get method on the link for the relation “next” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromNextRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> | A task which runs the request. |
Remarks
This method follows the link for the relation “next”.
GetSelectListResultFromNextRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “next” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromNextRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> | A task which runs the request. |
Remarks
This method follows the link for the relation “next”.
GetSelectListResultFromPrevRelation()
Calls the HTTP Get method on the link for the relation “prev”.
Declaration
public SelectListResult GetSelectListResultFromPrevRelation()
Returns
Type | Description |
---|---|
SelectListResult | The content of the response. |
GetSelectListResultFromPrevRelationAsync()
Calls the HTTP Get method on the link for the relation “prev” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromPrevRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> | A task which runs the request. |
Remarks
This method follows the link for the relation “prev”.
GetSelectListResultFromPrevRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “prev” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromPrevRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> | A task which runs the request. |
Remarks
This method follows the link for the relation “prev”.
GetSelectListResultFromSelfRelation()
Calls the HTTP Get method on the link for the relation “self”.
Declaration
public SelectListResult GetSelectListResultFromSelfRelation()
Returns
Type | Description |
---|---|
SelectListResult | The content of the response. |
GetSelectListResultFromSelfRelationAsync()
Calls the HTTP Get method on the link for the relation “self” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromSelfRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> | A task which runs the request. |
Remarks
This method follows the link for the relation “self”.
GetSelectListResultFromSelfRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “self” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromSelfRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<SelectListResult>> | A task which runs the request. |
Remarks
This method follows the link for the relation “self”.
SetProxy(HttpClientProxy)
Sets the HTTP communication proxy which is used in further HTTP communication.
Declaration
public void SetProxy(HttpClientProxy proxy)
Parameters
Type | Name | Description |
---|---|---|
HttpClientProxy | proxy | The |
Remarks
The HTTP proxy is used to handle the HTTP requests which are created by this instance. The proxy is used in case a request is sent to a URL which is resolved from a link.