Пример #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;
 }