Obsoletes access to ApplicationContext from UmbracoContext

This commit is contained in:
Shannon
2016-11-28 12:03:46 +01:00
parent 47c8e6854e
commit c505cc689b

View File

@@ -324,6 +324,8 @@ namespace Umbraco.Web
/// <summary>
/// Gets the current ApplicationContext
/// </summary>
[Obsolete("Do not access the ApplicationContext via the UmbracoContext, either inject the ApplicationContext into the services you need or access it via it's own Singleton accessor ApplicationContext.Current")]
[EditorBrowsable(EditorBrowsableState.Never)]
public ApplicationContext Application { get; private set; }
/// <summary>