◆ AllowedContentTypeAttribute()
| BervProject.Validation.Common.AllowedContentTypeAttribute.AllowedContentTypeAttribute |
( |
string[] | contentTypes | ) |
|
|
inline |
◆ IsValid()
| override bool BervProject.Validation.Common.AllowedContentTypeAttribute.IsValid |
( |
object | value | ) |
|
|
inline |
IsValid checking about if the FileName extension is allowed.
- Parameters
-
| value | Expected as IFile Object |
- Returns
- Return if FileName is allowed
The documentation for this class was generated from the following file:
- BervProject.Validation.Common/AllowedContentTypeAttribute.cs