Example #1
0
 public ExtensionListViewItem(FileExtensionsItem item, RequestFilteringPage page)
     : base(item.Extension)
 {
     Item  = item;
     _page = page;
     SubItems.Add(new ListViewSubItem(this, item.Allowed ? "True" : "False"));
 }
Example #2
0
 public QueryListViewItem(QueryStringsItem item, RequestFilteringPage page)
     : base(item.QueryString)
 {
     Item  = item;
     _page = page;
     SubItems.Add(new ListViewSubItem(this, item.Allowed ? "Always allow" : "Deny"));
 }
Example #3
0
 public HeaderListViewItem(HeadersItem item, RequestFilteringPage page)
     : base(item.Header)
 {
     Item  = item;
     _page = page;
     SubItems.Add(new ListViewSubItem(this, item.SizeLimit.ToString()));
 }
Example #4
0
 public VerbListViewItem(VerbsItem item, RequestFilteringPage page)
     : base(item.Verb)
 {
     Item  = item;
     _page = page;
     SubItems.Add(new ListViewSubItem(this, item.Allowed ? "True" : "False"));
 }
Example #5
0
 public UrlListViewItem(UrlsItem item, RequestFilteringPage page)
     : base(item.Url)
 {
     Item  = item;
     _page = page;
     SubItems.Add(new ListViewSubItem(this, item.Allowed ? "always allow" : "Deny"));
 }
Example #6
0
 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));
 }
Example #7
0
 public SegmentListViewItem(HiddenSegmentsItem item, RequestFilteringPage page)
     : base(item.Segment)
 {
     Item  = item;
     _page = page;
 }
Example #8
0
 public PageTaskList(RequestFilteringPage owner)
 {
     _owner = owner;
 }