using System; using System.Collections.Generic; using Umbraco.Web.Mvc; using Umbraco.Web.WebApi; using Umbraco.Core.Composing; namespace Umbraco.Web { /// /// Provides extension methods for the class. /// public static class TypeLoaderExtensions { /// /// Gets all types implementing . /// internal static IEnumerable GetSurfaceControllers(this TypeLoader typeLoader) => typeLoader.GetTypes(); /// /// Gets all types implementing . /// internal static IEnumerable GetUmbracoApiControllers(this TypeLoader typeLoader) => typeLoader.GetTypes(); } }