You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
477 B
19 lines
477 B
using JetBrains.Annotations; |
|
|
|
namespace Sanhe.Abp.MenuManagement |
|
{ |
|
public class MenuGrantInfo |
|
{ |
|
public static MenuGrantInfo NonGranted { get; } = new MenuGrantInfo(false); |
|
|
|
public virtual bool IsGranted { get; } |
|
|
|
public virtual string ProviderKey { get; } |
|
|
|
public MenuGrantInfo(bool isGranted, [CanBeNull] string providerKey = null) |
|
{ |
|
IsGranted = isGranted; |
|
ProviderKey = providerKey; |
|
} |
|
} |
|
} |