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.
25 lines
572 B
25 lines
572 B
using JetBrains.Annotations; |
|
using System; |
|
using System.Threading.Tasks; |
|
using Volo.Abp.DependencyInjection; |
|
|
|
namespace Sanhe.Abp.MenuManagement |
|
{ |
|
public interface IMenuManagementProvider : ITransientDependency |
|
{ |
|
string Name { get; } |
|
|
|
Task<MenuGrantInfo> CheckAsync( |
|
[NotNull] Guid menuId, |
|
[NotNull] string providerName, |
|
[NotNull] string providerKey |
|
); |
|
|
|
Task SetAsync( |
|
[NotNull] Guid menuId, |
|
[NotNull] string providerKey, |
|
bool isGranted |
|
); |
|
} |
|
|
|
}
|
|
|