The UploaderValidateOption type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
UploaderValidateOption |
Initializes a new instance of the UploaderValidateOption class
|
Methods
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.
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | (Overrides Object..::..ToString()()()().) |
Properties
Name | Description | |
---|---|---|
![]() |
AllowedFileExtensions |
Gets or sets the allowed file extensions for uploading.
|
![]() |
MaxSizeKB |
Gets or sets the maximum allowed size of the file, in KB.
|