public ExtensionListViewItem(FileExtensionsItem item, RequestFilteringPage page) : base(item.Extension) { Item = item; _page = page; SubItems.Add(new ListViewSubItem(this, item.Allowed ? "True" : "False")); }
public QueryListViewItem(QueryStringsItem item, RequestFilteringPage page) : base(item.QueryString) { Item = item; _page = page; SubItems.Add(new ListViewSubItem(this, item.Allowed ? "Always allow" : "Deny")); }
public HeaderListViewItem(HeadersItem item, RequestFilteringPage page) : base(item.Header) { Item = item; _page = page; SubItems.Add(new ListViewSubItem(this, item.SizeLimit.ToString())); }
public VerbListViewItem(VerbsItem item, RequestFilteringPage page) : base(item.Verb) { Item = item; _page = page; SubItems.Add(new ListViewSubItem(this, item.Allowed ? "True" : "False")); }
public UrlListViewItem(UrlsItem item, RequestFilteringPage page) : base(item.Url) { Item = item; _page = page; SubItems.Add(new ListViewSubItem(this, item.Allowed ? "always allow" : "Deny")); }
public RuleListViewItem(FilteringRulesItem item, RequestFilteringPage page) : base(item.Name) { Item = item; _page = page; SubItems.Add(new ListViewSubItem(this, item.ScanString)); SubItems.Add(new ListViewSubItem(this, item.AppliesToString)); SubItems.Add(new ListViewSubItem(this, item.DenyStringsString)); }
public SegmentListViewItem(HiddenSegmentsItem item, RequestFilteringPage page) : base(item.Segment) { Item = item; _page = page; }
public PageTaskList(RequestFilteringPage owner) { _owner = owner; }