Пример #1
0
 public InboundRuleListViewItem(InboundRule item, RewritePage page)
     : base(item.Name)
 {
     Item  = item;
     _page = page;
     SubItems.Add(new ListViewSubItem(this, item.Input));
     SubItems.Add(new ListViewSubItem(this, item.Negate ? "Does not matches" : "Matches"));
     SubItems.Add(new ListViewSubItem(this, item.PatternUrl));
     SubItems.Add(new ListViewSubItem(this, ToString(item.Type)));
     SubItems.Add(new ListViewSubItem(this, item.ActionUrl));
     SubItems.Add(new ListViewSubItem(this, item.StopProcessing ? "True" : "False"));
     SubItems.Add(new ListViewSubItem(this, item.Flag));
 }
Пример #2
0
 public OutboundRuleListViewItem(OutboundRule item, RewritePage page)
     : base(item.Name)
 {
     Item  = item;
     _page = page;
     SubItems.Add(new ListViewSubItem(this, item.Input));
     SubItems.Add(new ListViewSubItem(this, item.Negate ? "Does not match" : "Matches"));
     SubItems.Add(new ListViewSubItem(this, item.Pattern));
     SubItems.Add(new ListViewSubItem(this, ToString(item.Action)));
     SubItems.Add(new ListViewSubItem(this, item.Value));
     SubItems.Add(new ListViewSubItem(this, item.Stopping ? "True" : "False"));
     SubItems.Add(new ListViewSubItem(this, item.Flag));
 }
Пример #3
0
 public PageTaskList(RewritePage owner)
 {
     _owner = owner;
 }