using System.Collections.Generic;
using Umbraco.Web.Models.ContentEditing;
namespace Umbraco.Web.Trees
{
public interface ISearchableTree
{
///
/// The alias of the tree that the belongs to
///
string TreeAlias { get; }
///
/// Searches for results based on the entity type
///
///
///
///
///
///
/// A starting point for the search, generally a node id, but for members this is a member type alias
///
///
IEnumerable Search(string query, int pageSize, long pageIndex, out long totalFound, string searchFrom = null);
}
}