| UploaderValidateOption Class |
Namespace: CuteWebUI
The UploaderValidateOption type exposes the following members.
| Name | Description | |
|---|---|---|
| UploaderValidateOption | Initializes a new instance of the UploaderValidateOption class |
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetMaxSizeKBWithConfig |
with DefaultMaxSizeKB/GlobalMaxSizeKB
| |
| GetType | Gets the type of the current instance. (Inherited from Object.) | |
| MatchExtension |
This helper function help you to validate that a file has an allowed extension.
| |
| MatchMimeType | ||
| MatchRegExp |
This helper function help you to validate that a file matched the regexp.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Overrides ObjectToString.) | |
| ValidateFileData |
| Name | Description | |
|---|---|---|
| AllowedFileExtensions |
Gets or sets the allowed file extensions for uploading.
| |
| AllowedFileMimeTypes | ||
| AllowedFileRegExp |
Gets or sets the allowed file name RegExp.
| |
| EnableMimetypeChecking | ||
| MaxSizeKB |
Gets or sets the maximum allowed size of the file, in KB.
|