Search Results for

    Show / Hide Table of Contents
    View Source

    Class TreeSearchResult

    Represents a search result by entity type

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(Name = "searchResult", Namespace = "")]
    public class TreeSearchResult

    Properties

    View Source

    AppAlias

    Declaration
    [DataMember(Name = "appAlias")]
    public string AppAlias { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    JsFormatterMethod

    This is optional but if specified should be the name of a method on the jsSvc angular service to use, if not specified than it will expect the method to be called format(searchResult, appAlias, treeAlias)

    Declaration
    [DataMember(Name = "jsMethod")]
    public string JsFormatterMethod { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    JsFormatterService

    This is optional but if specified should be the name of an angular service to format the search result.

    Declaration
    [DataMember(Name = "jsSvc")]
    public string JsFormatterService { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Results

    Declaration
    [DataMember(Name = "results")]
    public IEnumerable<SearchResultEntity>? Results { get; set; }
    Property Value
    Type Description
    System.Nullable<IEnumerable<SearchResultEntity>>
    View Source

    TreeAlias

    Declaration
    [DataMember(Name = "treeAlias")]
    public string TreeAlias { get; set; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • AppAlias
      • JsFormatterMethod
      • JsFormatterService
      • Results
      • TreeAlias
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX