Exemple #1
0
    /// <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);

    }
Exemple #2
0
 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);
 }