예제 #1
0
        internal ServerCounters GetCounters()
        {
            var counters = new ServerCounters(endpoint);

            interactive?.GetCounters(counters.Interactive);
            subscription?.GetCounters(counters.Subscription);
            return(counters);
        }
예제 #2
0
 internal void Add(ServerCounters other)
 {
     if (other == null)
     {
         return;
     }
     Interactive.Add(other.Interactive);
     Subscription.Add(other.Subscription);
 }