예제 #1
0
 public ExtensionListViewItem(FileExtensionsItem item, RequestFilteringPage page)
     : base(item.Extension)
 {
     Item  = item;
     _page = page;
     SubItems.Add(new ListViewSubItem(this, item.Allowed ? "True" : "False"));
 }
예제 #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"));
 }
예제 #3
0
 public HeaderListViewItem(HeadersItem item, RequestFilteringPage page)
     : base(item.Header)
 {
     Item  = item;
     _page = page;
     SubItems.Add(new ListViewSubItem(this, item.SizeLimit.ToString()));
 }
예제 #4
0
 public VerbListViewItem(VerbsItem item, RequestFilteringPage page)
     : base(item.Verb)
 {
     Item  = item;
     _page = page;
     SubItems.Add(new ListViewSubItem(this, item.Allowed ? "True" : "False"));
 }
예제 #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"));
 }
예제 #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));
 }
예제 #7
0
 public SegmentListViewItem(HiddenSegmentsItem item, RequestFilteringPage page)
     : base(item.Segment)
 {
     Item  = item;
     _page = page;
 }
예제 #8
0
 public PageTaskList(RequestFilteringPage owner)
 {
     _owner = owner;
 }