/// <summary>
		/// Constructor.
		/// </summary>
		/// <param name="name">The name of the service.</param>
		/// <param name="nasArchive">The <see cref="NasArchive"/> for which to do restores. </param>
		public NasRestoreService(string name, NasArchive nasArchive)
			: base(name)
		{
			_nasArchive = nasArchive;

			_threadPool = new ItemProcessingThreadPool<RestoreQueue>(NasSettings.Default.RestoreThreadCount);
			_threadPool.ThreadPoolName = "NasRestore Pool";
		}
示例#2
0
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="name">The name of the service.</param>
        /// <param name="nasArchive">The <see cref="NasArchive"/> for which to do restores. </param>
        public NasRestoreService(string name, NasArchive nasArchive)
            : base(name)
        {
            _nasArchive = nasArchive;

            _threadPool = new ItemProcessingThreadPool <RestoreQueue>(NasSettings.Default.RestoreThreadCount);
            _threadPool.ThreadPoolName = "NasRestore Pool";
        }
		/// <summary>
		/// Constructor.
		/// </summary>
		/// <param name="nasArchive">The NasArchive to work with.</param>
		public NasStudyRestore(NasArchive nasArchive)
		{
			_nasArchive = nasArchive;
		}
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="nasArchive">The NasArchive to work with.</param>
 public NasStudyRestore(NasArchive nasArchive)
 {
     _nasArchive = nasArchive;
 }
	    /// <summary>
		/// Constructor.
		/// </summary>
		/// <param name="nasArchive">The NasArchive to work with.</param>
		public NasStudyArchive(NasArchive nasArchive)
		{
			_nasArchive = nasArchive;
		}
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="nasArchive">The NasArchive to work with.</param>
 public NasStudyArchive(NasArchive nasArchive)
 {
     _nasArchive = nasArchive;
 }