10 lines
299 B
C#
10 lines
299 B
C#
8 years ago
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace Yavsc.Models.Access
|
||
|
{
|
||
7 years ago
|
public abstract class RuleSet <TResource,TRequirement>:List<Rule<TResource,TRequirement>> {
|
||
8 years ago
|
|
||
7 years ago
|
public abstract bool Allow(ApplicationDbContext context, string userId, TResource resource, TRequirement requirement);
|
||
8 years ago
|
|
||
|
}
|
||
|
}
|