/// <summary> /// /// </summary> /// <param name="Items"></param> public void Initialize(Session session) { Subscription subscription = new Subscription(session.DefaultSubscription); subscription.DisplayName = session.ToString() + ".AllSessions"; bool bResult = session.AddSubscription(subscription); subscription.Create(); Initialize(session, subscription); }
public void LoadItems(Session session, List<DiagnosticListViewItem> items) { Subscription subscription = new Subscription(session.DefaultSubscription); bool bResult = session.AddSubscription(subscription); subscription.DisplayName = session.ToString(); subscription.Create(); LoadItems(session, items, subscription); }