Search Results for

    Show / Hide Table of Contents
    View Source

    Class ApiLink

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ApiLink

    Properties

    View Source

    DestinationId

    Declaration
    public Guid? DestinationId { get; }
    Property Value
    Type Description
    System.Nullable<Guid>
    View Source

    DestinationType

    Declaration
    public string DestinationType { get; }
    Property Value
    Type Description
    System.String
    View Source

    LinkType

    Declaration
    public LinkType LinkType { get; }
    Property Value
    Type Description
    LinkType
    View Source

    QueryString

    Declaration
    public string QueryString { get; }
    Property Value
    Type Description
    System.String
    View Source

    Route

    Declaration
    public IApiContentRoute Route { get; }
    Property Value
    Type Description
    IApiContentRoute
    View Source

    Target

    Declaration
    public string Target { get; }
    Property Value
    Type Description
    System.String
    View Source

    Title

    Declaration
    public string Title { get; }
    Property Value
    Type Description
    System.String
    View Source

    Url

    Declaration
    public string Url { get; }
    Property Value
    Type Description
    System.String

    Methods

    View Source

    Content(String, String, Guid, String, IApiContentRoute)

    Declaration
    public static ApiLink Content(string title, string target, Guid destinationId, string destinationType, IApiContentRoute route)
    Parameters
    Type Name Description
    System.String title
    System.String target
    Guid destinationId
    System.String destinationType
    IApiContentRoute route
    Returns
    Type Description
    ApiLink
    View Source

    Content(String, String, String, Guid, String, IApiContentRoute)

    Declaration
    public static ApiLink Content(string title, string queryString, string target, Guid destinationId, string destinationType, IApiContentRoute route)
    Parameters
    Type Name Description
    System.String title
    System.String queryString
    System.String target
    Guid destinationId
    System.String destinationType
    IApiContentRoute route
    Returns
    Type Description
    ApiLink
    View Source

    External(String, String, String)

    Declaration
    public static ApiLink External(string title, string url, string target)
    Parameters
    Type Name Description
    System.String title
    System.String url
    System.String target
    Returns
    Type Description
    ApiLink
    View Source

    External(String, String, String, String)

    Declaration
    public static ApiLink External(string title, string url, string queryString, string target)
    Parameters
    Type Name Description
    System.String title
    System.String url
    System.String queryString
    System.String target
    Returns
    Type Description
    ApiLink
    View Source

    Media(String, String, String, Guid, String)

    Declaration
    public static ApiLink Media(string title, string url, string target, Guid destinationId, string destinationType)
    Parameters
    Type Name Description
    System.String title
    System.String url
    System.String target
    Guid destinationId
    System.String destinationType
    Returns
    Type Description
    ApiLink
    View Source

    Media(String, String, String, String, Guid, String)

    Declaration
    public static ApiLink Media(string title, string url, string queryString, string target, Guid destinationId, string destinationType)
    Parameters
    Type Name Description
    System.String title
    System.String url
    System.String queryString
    System.String target
    Guid destinationId
    System.String destinationType
    Returns
    Type Description
    ApiLink
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • DestinationId
      • DestinationType
      • LinkType
      • QueryString
      • Route
      • Target
      • Title
      • Url
    • Methods
      • Content(String, String, Guid, String, IApiContentRoute)
      • Content(String, String, String, Guid, String, IApiContentRoute)
      • External(String, String, String)
      • External(String, String, String, String)
      • Media(String, String, String, Guid, String)
      • Media(String, String, String, String, Guid, String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX