コード例 #1
0
 private void ProcessPoints(object sender, List <MetricPoint> points)
 {
     try
     {
         if ((points == null ? false : points.Count > 0))
         {
             if ((sender == null ? false : sender is WorkerQueue <MetricPoint>))
             {
                 string[] strArrays = MetricPoint.ParseDBRP((sender as WorkerQueue <MetricPoint>).QueueName);
                 string   str       = strArrays[0];
                 PushToServer(points, str, strArrays[1]);
             }
         }
     }
     catch (Exception exception)
     {
         DebugUtil.LogException(exception);
     }
 }