Class Link
Represents a link in a HAL resource.
Inheritance
Namespace: StylelabsStylelabs.MStylelabs.M.BaseStylelabs.M.Base.WebStylelabs.M.Base.Web.ApiModels
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
Constructors
Link()
Initializes a new instance of the Link class.
Declaration
Link(string, string, bool)
Initializes a new instance of the Link class.
Declaration
Parameters
Link(string, string, string[])
Initializes a new instance of the Link class.
Declaration
Parameters
Link(string, string)
Initializes a new instance of the Link class.
Declaration
Parameters
Link(string)
Initializes a new instance of the Link class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | uri |
The initial Uri. |
Link(Uri, string, bool)
Initializes a new instance of the Link class.
Declaration
Parameters
Link(Uri, string)
Initializes a new instance of the Link class.
Declaration
Parameters
Link(Uri)
Initializes a new instance of the Link class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | uri |
The initial Uri. |
Properties
FileNameProperties
Gets or sets the URI that points to the resource this link refers to.
Declaration
Property Value
| Type | Description |
|---|---|
| string |
The URI. |
Template
Gets or sets a value indicating whether the contained URI is a template.
Declaration
Property Value
| Type | Description |
|---|---|
| bool |
|
Title
Gets or sets the title that describes this link.
Declaration
Property Value
| Type | Description |
|---|---|
| string |
A descriptive title for this link. |
Uri
Gets or sets the URI that points to the resource this link refers to.
Declaration
Property Value
| Type | Description |
|---|---|
| string |
The URI. |
Operators
implicit operator Link(string)
Operator.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | uri |
The uri. |
Returns
| Type | Description |
|---|---|
| Link |
implicit operator Link(Uri)
Operator.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | uri |
The uri. |
Returns
| Type | Description |
|---|---|
| Link |