Пример #1
0
 public ApplicationPoolsListViewItem(ApplicationPool item, ApplicationPoolsPage page)
     : base(item.Name)
 {
     Item  = item;
     _page = page;
     SubItems.Add(new ListViewSubItem(this, CommonHelper.ToString(Item.State)));
     SubItems.Add(new ListViewSubItem(this, Item.ManagedRuntimeVersion.RuntimeVersionToDisplay2()));
     SubItems.Add(new ListViewSubItem(this, CommonHelper.ToString(Item.ManagedPipelineMode)));
     SubItems.Add(new ListViewSubItem(this, Item.ProcessModel.UserName));
     SubItems.Add(new ListViewSubItem(this, item.ApplicationCount.ToString()));
     ImageIndex = item.State == ObjectState.Started ? 0 : 1;
 }
Пример #2
0
 public PageTaskList(ApplicationPoolsPage owner)
 {
     _owner = owner;
 }