using Umbraco.Core.Composing; using Umbraco.Web.Trees; // the namespace here is intentional - although defined in Umbraco.Web assembly, // this class should be visible when using Umbraco.Core.Components, alongside // Umbraco.Core's own CompositionExtensions class // ReSharper disable once CheckNamespace namespace Umbraco.Extensions { /// /// Provides extension methods to the class. /// public static class WebCompositionExtensions { #region Collection Builders /// /// Gets the back office tree collection builder /// /// /// public static TreeCollectionBuilder Trees(this Composition composition) => composition.WithCollectionBuilder(); #endregion } }