public override bool Contains(PermissionInfo permission) { return this.Name == permission.Name && this.RealAction == permission.RealAction && this.GetType() == permission.GetType(); }