AB#6233 - Clean up
This commit is contained in:
@@ -22,85 +22,5 @@ namespace Umbraco.Web.Common.Controllers
|
||||
public abstract class UmbracoApiControllerBase : Controller, IUmbracoFeature
|
||||
{
|
||||
|
||||
//
|
||||
// /// <summary>
|
||||
// /// Initializes a new instance of the <see cref="UmbracoApiControllerBase"/> class with all its dependencies.
|
||||
// /// </summary>
|
||||
// protected UmbracoApiControllerBase(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger, IRuntimeState runtimeState, UmbracoMapper umbracoMapper, IPublishedUrlProvider publishedUrlProvider)
|
||||
// {
|
||||
// UmbracoContextAccessor = umbracoContextAccessor;
|
||||
// GlobalSettings = globalSettings;
|
||||
// SqlContext = sqlContext;
|
||||
// Services = services;
|
||||
// AppCaches = appCaches;
|
||||
// Logger = logger;
|
||||
// RuntimeState = runtimeState;
|
||||
// Mapper = umbracoMapper;
|
||||
// PublishedUrlProvider = publishedUrlProvider;
|
||||
// }
|
||||
//
|
||||
// /// <summary>
|
||||
// /// Gets a unique instance identifier.
|
||||
// /// </summary>
|
||||
// /// <remarks>For debugging purposes.</remarks>
|
||||
// internal Guid InstanceId { get; } = Guid.NewGuid();
|
||||
//
|
||||
// /// <summary>
|
||||
// /// Gets the Umbraco context.
|
||||
// /// </summary>
|
||||
// public virtual IGlobalSettings GlobalSettings { get; }
|
||||
//
|
||||
// /// <summary>
|
||||
// /// Gets the Umbraco context.
|
||||
// /// </summary>
|
||||
// public virtual IUmbracoContext UmbracoContext => UmbracoContextAccessor.UmbracoContext;
|
||||
//
|
||||
// /// <summary>
|
||||
// /// Gets the Umbraco context accessor.
|
||||
// /// </summary>
|
||||
// public virtual IUmbracoContextAccessor UmbracoContextAccessor { get; }
|
||||
//
|
||||
//
|
||||
// /// <summary>
|
||||
// /// Gets the sql context.
|
||||
// /// </summary>
|
||||
// public ISqlContext SqlContext { get; }
|
||||
//
|
||||
// /// <summary>
|
||||
// /// Gets the services context.
|
||||
// /// </summary>
|
||||
// public ServiceContext Services { get; }
|
||||
//
|
||||
// /// <summary>
|
||||
// /// Gets the application cache.
|
||||
// /// </summary>
|
||||
// public AppCaches AppCaches { get; }
|
||||
//
|
||||
// /// <summary>
|
||||
// /// Gets the logger.
|
||||
// /// </summary>
|
||||
// public IProfilingLogger Logger { get; }
|
||||
//
|
||||
// /// <summary>
|
||||
// /// Gets the runtime state.
|
||||
// /// </summary>
|
||||
// internal IRuntimeState RuntimeState { get; }
|
||||
//
|
||||
// /// <summary>
|
||||
// /// Gets the application url.
|
||||
// /// </summary>
|
||||
// protected Uri ApplicationUrl => RuntimeState.ApplicationUrl;
|
||||
//
|
||||
// /// <summary>
|
||||
// /// Gets the mapper.
|
||||
// /// </summary>
|
||||
// public UmbracoMapper Mapper { get; }
|
||||
//
|
||||
// protected IPublishedUrlProvider PublishedUrlProvider { get; }
|
||||
//
|
||||
// /// <summary>
|
||||
// /// Gets the web security helper.
|
||||
// /// </summary>
|
||||
// public IWebSecurity Security => UmbracoContext.Security;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user