/// <summary> /// Initializes a new instance of the <see cref="MyAuthRule"/> class. /// </summary> /// <param name="rule">The rule.</param> public MyAuthRule(AuthRule rule) { Id = rule.Id; AuthRule = rule; }
/// <summary> /// Initializes a new instance of the <see cref="MyAuthRule"/> class. /// </summary> /// <param name="rule">The rule.</param> public MyAuthRule(AuthRule rule) : base(rule.Id, rule.EntityId, rule.AllowOrDeny, rule.SpecialRole, rule.PersonId, rule.PersonAliasId, rule.GroupId, rule.Order) { }