AB#6233 - Clean up

This commit is contained in:
Bjarke Berg
2020-05-07 10:00:18 +02:00
parent 1499e4538f
commit fa3f52c6d3
3 changed files with 2 additions and 95 deletions

View File

@@ -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;
}
}