FileExtensionValidationRule class
Enforces file name extensions on the files.
public class FileExtensionValidationRule : IRule<InvalidExtensionException>
Public Members
name | description |
---|---|
FileExtensionValidationRule() | The default constructor. |
Name { get; } | Name of the rule |
Execute(…) | Executes the rule which should throw an exception of type !:TException. (2 methods) |
See Also
- namespace DotNetOpen.FileService