Class SelectListResult
- Namespace
- DocuWare.Platform.ServerClient
- Assembly
- DocuWare.Platform.ServerClient.dll
Select list values.
public class SelectListResult : IRelationsWithProxy, IRelations, IHttpClientProxy
- Inheritance
-
SelectListResult
- Implements
- Inherited Members
Properties
FirstRelationLink
Gets the Uri of the link for the relation “first”.
[Eagle]
public string FirstRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Returns the uri of the link for the relation “first” if it exists, or
Links
public Link[] Links { get; set; }
Property Value
| Type | Description |
|---|---|
| Link[] |
NextRelationLink
Gets the Uri of the link for the relation “next”.
[Eagle]
public string NextRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| 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”.
[Eagle]
public string PrevRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| 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”.
[Eagle]
public string SelfRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Returns the uri of the link for the relation “self” if it exists, or
TypedValue
public List<DocumentIndexFieldValue> TypedValue { get; set; }
Property Value
| Type | Description |
|---|---|
| List<DocumentIndexFieldValue> |
Value
Select list values.
public List<string> Value { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Methods
GetSelectListResultFromFirstRelation()
Calls the HTTP Get method on the link for the relation “first”.
[Eagle]
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.
[Eagle]
public Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromFirstRelationAsync()
Returns
| Type | Description |
|---|---|
| Task<DeserializedHttpResponse<SelectListResult>> | A task which runs the request. |
Remarks
This method follows the link for the relation “first”.
GetSelectListResultFromFirstRelationAsync(CancellationToken)
Calls the HTTP Get method on the link for the relation “first” asynchronously.
[Eagle]
public Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromFirstRelationAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| 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”.
[Eagle]
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.
[Eagle]
public Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromNextRelationAsync()
Returns
| Type | Description |
|---|---|
| Task<DeserializedHttpResponse<SelectListResult>> | A task which runs the request. |
Remarks
This method follows the link for the relation “next”.
GetSelectListResultFromNextRelationAsync(CancellationToken)
Calls the HTTP Get method on the link for the relation “next” asynchronously.
[Eagle]
public Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromNextRelationAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| 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”.
[Eagle]
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.
[Eagle]
public Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromPrevRelationAsync()
Returns
| Type | Description |
|---|---|
| Task<DeserializedHttpResponse<SelectListResult>> | A task which runs the request. |
Remarks
This method follows the link for the relation “prev”.
GetSelectListResultFromPrevRelationAsync(CancellationToken)
Calls the HTTP Get method on the link for the relation “prev” asynchronously.
[Eagle]
public Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromPrevRelationAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| 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”.
[Eagle]
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.
[Eagle]
public Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromSelfRelationAsync()
Returns
| Type | Description |
|---|---|
| Task<DeserializedHttpResponse<SelectListResult>> | A task which runs the request. |
Remarks
This method follows the link for the relation “self”.
GetSelectListResultFromSelfRelationAsync(CancellationToken)
Calls the HTTP Get method on the link for the relation “self” asynchronously.
[Eagle]
public Task<DeserializedHttpResponse<SelectListResult>> GetSelectListResultFromSelfRelationAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| 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.
public void SetProxy(HttpClientProxy proxy)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpClientProxy | proxy | The HttpClient instance which is used in further HTTP communication. |
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.