Tournament Docs Tournament Docs
Tournament Docs Tournament Docs

Search Results for

    Edit this page

    Class Link

    Represents a hypermedia link used in HATEOAS.

    Inheritance
    object
    Link
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tournaments.Shared.Hateoas
    Assembly: Tournaments.Shared.dll
    Syntax
    public class Link

    Constructors

    | Edit this page View Source

    Link(string, string, string)

    Initializes a new instance of the Link class.

    Declaration
    public Link(string href, string rel, string method)
    Parameters
    Type Name Description
    string href

    The URL of the link.

    string rel

    The relationship of the link.

    string method

    The HTTP method of the link.

    Properties

    | Edit this page View Source

    Href

    Gets or sets the URL of the link.

    Declaration
    public string Href { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Method

    Gets or sets the HTTP method of the link.

    Declaration
    public string Method { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Rel

    Gets or sets the relationship of the link.

    Declaration
    public string Rel { get; set; }
    Property Value
    Type Description
    string