Example #1
0
 public RbacTask(string taskName, IRbacOperation operation, IBizRule biznessRule)
 {
     Name             = taskName;
     this.operation   = operation;
     this.biznessRule = biznessRule;
 }
Example #2
0
 public RbacTask(string taskName, IRbacOperation operation, Func <IDictionary <string, string>, bool> biznessRule)
     : this(taskName, operation, new BizRule(biznessRule))
 {
 }