Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <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)
 {
 }