public AjaxFileUploadEventArgs(string fileId, AjaxFileUploadState state, string statusMessage, string fileName, int fileSize, string contentType) { _fileId = fileId; _state = state; _statusMessage = statusMessage; _fileName = fileName; _fileSize = fileSize; _contentType = contentType; }
/// <summary> /// Constructor to initialize various values of uploading file. /// </summary> /// <param name="fileId">Id of the file.</param> /// <param name="state">State of the Upload.</param> /// <param name="statusMessage">Status message.</param> /// <param name="fileName">Name of the file.</param> /// <param name="fileSize">Size of the file.</param> /// <param name="contentType">Content type of the file.</param> public AjaxFileUploadEventArgs(string fileId, AjaxFileUploadState state, string statusMessage, string fileName, int fileSize, string contentType) { _fileId = fileId; _state = state; _statusMessage = statusMessage; _fileName = fileName; _fileSize = fileSize; _contentType = contentType; }