The UploaderValidateOption type exposes the following members.

Constructors

  Name Description
Public method UploaderValidateOption
Initializes a new instance of the UploaderValidateOption class

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetMaxSizeKBWithConfig
with DefaultMaxSizeKB/GlobalMaxSizeKB
Public method GetType
Gets the type of the current instance.
(Inherited from Object.)
Public method MatchExtension
This helper function help you to validate that a file has an allowed extension.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a String that represents the current Object.
(Overrides Object..::..ToString()()()().)

Properties

  Name Description
Public property AllowedFileExtensions
Gets or sets the allowed file extensions for uploading.
Public property MaxSizeKB
Gets or sets the maximum allowed size of the file, in KB.

See Also