Class Link<TResponse>
Inheritance
System.Object
Link<TResponse>
Namespace: System.Dynamic.ExpandoObject
Assembly: stellar-dotnet-sdk.dll
Syntax
public class Link<TResponse> : Link where TResponse : Response
Type Parameters
Constructors
Declaration
Parameters
Type |
Name |
Description |
System.String |
href |
|
Methods
Declaration
public static Link<TResponse> Create(string href, bool templated)
Parameters
Type |
Name |
Description |
System.String |
href |
|
System.Boolean |
templated |
|
Returns
Follow the Link, retrieving the linked resource.
Declaration
public Task<TResponse> Follow()
Returns
Follow the Link, retrieving the linked resource.
Declaration
public Task<TResponse> Follow(HttpClient httpClient)
Parameters
Type |
Name |
Description |
HttpClient |
httpClient |
|
Returns
Follow the Link, retrieving the linked resource.
Declaration
public Task<TResponse> Follow(HttpClient httpClient, IDictionary<string, object> parameters)
Parameters
Type |
Name |
Description |
HttpClient |
httpClient |
|
IDictionary<System.String, System.Object> |
parameters |
|
Returns
Declaration
public Task<TResponse> Follow(HttpClient httpClient, object parameters)
Parameters
Type |
Name |
Description |
HttpClient |
httpClient |
|
System.Object |
parameters |
|
Returns
Follow the Link, retrieving the linked resource.
Declaration
public Task<TResponse> Follow(IDictionary<string, object> parameters)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
parameters |
|
Returns
Follow the Link, retrieving the linked resource.
Declaration
public Task<TResponse> Follow(object parameters)
Parameters
Type |
Name |
Description |
System.Object |
parameters |
|
Returns
Resolve template Uri by performing variables substitution.
Declaration
public virtual Uri Resolve()
Returns
Declaration
public virtual Uri Resolve(IDictionary<string, object> parameters)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
parameters |
|
Returns
Declaration
public virtual Uri Resolve(object parameters)
Parameters
Type |
Name |
Description |
System.Object |
parameters |
|
Returns