Skip to content

Instantly share code, notes, and snippets.

@trnktms
Created February 9, 2023 10:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
namespace Feature.Providers.ItemAccessibility
{
public class CustomAuthorizationProvider : BucketAuthorizationProvider
{
[Obsolete]
public CustomAuthorizationProvider() : base()
{
ItemHelper = (ItemAuthorizationHelper)ServiceLocator.ServiceProvider.GetService(typeof(ItemAuthorizationHelper));
}
public CustomAuthorizationProvider(SqlServerDataApi api) : base(api)
{
ItemHelper = (ItemAuthorizationHelper)ServiceLocator.ServiceProvider.GetService(typeof(ItemAuthorizationHelper));
}
protected sealed override ItemAuthorizationHelper ItemHelper { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment