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