/// <summary>
        /// Initializes a new instance of the <see cref="SQLFileDownloadHandler"/> class.
        /// </summary>
        public SQLFileDownloadHandler()
        {
            _processor = UploadManager.Instance.GetProcessor() as SQLProcessor;

            if (_processor == null)
            {
                throw new Exception("The default processor must be of type SQLProcessor for downloads.");
            }
        }
Beispiel #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SQLFileDownloadHandler"/> class.
        /// </summary>
        public SQLFileDownloadHandler()
        {
            _processor = UploadManager.Instance.GetProcessor() as SQLProcessor;

            if (_processor == null)
            {
                throw new Exception("The default processor must be of type SQLProcessor for downloads.");
            }
        }