コード例 #1
0
 /// <summary>
 /// Disposes the resources.
 /// </summary>
 /// <param name="Disposing">true if the Dispose call is from user code, and not system code.</param>
 protected virtual void Dispose(bool Disposing)
 {
     if (UploadsInProgress != null)
     {
         UploadsInProgress.Dispose();
         UploadsInProgress = null;
     }
     if (ServiceHttpListener != null)
     {
         ServiceHttpListener.Close();
     }
 }
コード例 #2
0
        /// <summary> Periodically pools the performance data. </summary>
        private static void StaticPoolPerformanceData(object Obj)
        {
            FUploadsInProgress This = (FUploadsInProgress)Obj;

            This.PoolPerformanceData();
        }