2020-02-18 11:32:31 +01:00
|
|
|
|
using Umbraco.Core.Composing;
|
|
|
|
|
|
using Umbraco.Web.Dashboards;
|
2019-11-22 00:25:26 +11:00
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Core
|
|
|
|
|
|
{
|
|
|
|
|
|
public static partial class CompositionExtensions
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
#region Collection Builders
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the components collection builder.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public static ComponentCollectionBuilder Components(this Composition composition)
|
|
|
|
|
|
=> composition.WithCollectionBuilder<ComponentCollectionBuilder>();
|
|
|
|
|
|
|
2020-02-18 11:32:31 +01:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the backoffice dashboards collection builder.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="composition">The composition.</param>
|
|
|
|
|
|
public static DashboardCollectionBuilder Dashboards(this Composition composition)
|
|
|
|
|
|
=> composition.WithCollectionBuilder<DashboardCollectionBuilder>();
|
|
|
|
|
|
|
2019-11-22 00:25:26 +11:00
|
|
|
|
#endregion
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|