Added info to obsolete message

This commit is contained in:
Bjarke Berg
2020-03-10 10:36:34 +01:00
parent 6241bee1b2
commit 9be30f3e91

View File

@@ -94,7 +94,7 @@ namespace Umbraco.Web
/// <summary>
/// Gets the membership helper.
/// </summary>
[Obsolete("Inject and use an instance of " + nameof(Security.MembershipHelper) + " in the constructor instead")]
[Obsolete("Inject and use an instance of " + nameof(Security.MembershipHelper) + " in the constructor instead. In views you can use @Members.")]
public MembershipHelper MembershipHelper => Ensure(_membershipHelper);
/// <summary>