public AuthorizationListViewItem(AuthorizationRule item, AuthorizationPage page) : base(item.AccessType == 0L ? "Allow" : "Deny") { this.Item = item; _page = page; this.SubItems.Add(new ListViewSubItem(this, item.UsersString)); this.SubItems.Add(new ListViewSubItem(this, item.Roles)); this.SubItems.Add(new ListViewSubItem(this, item.Verbs)); this.SubItems.Add(new ListViewSubItem(this, item.Flag)); }
public PageTaskList(AuthorizationPage owner) { _owner = owner; }