Search Results for

    Show / Hide Table of Contents
    View Source

    Class SearchableTreeAttribute

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Trees
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class SearchableTreeAttribute : Attribute

    Constructors

    View Source

    SearchableTreeAttribute(String)

    This constructor will assume that the method name equals format(searchResult, appAlias, treeAlias).

    Declaration
    public SearchableTreeAttribute(string serviceName)
    Parameters
    Type Name Description
    System.String serviceName

    Name of the service.

    View Source

    SearchableTreeAttribute(String, String)

    This constructor defines both the Angular service and method name to use.

    Declaration
    public SearchableTreeAttribute(string serviceName, string methodName)
    Parameters
    Type Name Description
    System.String serviceName

    Name of the service.

    System.String methodName

    Name of the method.

    View Source

    SearchableTreeAttribute(String, String, Int32)

    This constructor defines both the Angular service and method name to use and explicitly defines a sort order for the results

    Declaration
    public SearchableTreeAttribute(string serviceName, string methodName, int sortOrder)
    Parameters
    Type Name Description
    System.String serviceName

    Name of the service.

    System.String methodName

    Name of the method.

    System.Int32 sortOrder

    The sort order.

    Fields

    View Source

    DefaultSortOrder

    Declaration
    public const int DefaultSortOrder = 1000
    Field Value
    Type Description
    System.Int32

    Properties

    View Source

    MethodName

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

    ServiceName

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

    SortOrder

    Declaration
    public int SortOrder { get; }
    Property Value
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • SearchableTreeAttribute(String)
      • SearchableTreeAttribute(String, String)
      • SearchableTreeAttribute(String, String, Int32)
    • Fields
      • DefaultSortOrder
    • Properties
      • MethodName
      • ServiceName
      • SortOrder
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX