Guard - класс |
Пространство имён: Telerik.Web.Mvc.Infrastructure
public static class Guard
Тип Guard предоставляет следующие члены.
| Имя | Описание | |
|---|---|---|
| IsNotNegative(Int32, String) |
Ensures the specified value is not a negative integer.
| |
| IsNotNegative(Single, String) |
Ensures the specified value is not a negative float.
| |
| IsNotNull |
Ensures the specified argument is not null.
| |
| IsNotNullOrEmpty(String, String) |
Ensures the specified string is not blank.
| |
| IsNotNullOrEmptyT(ICollectionT, String) |
Ensures the specified collection is not null or empty.
| |
| IsNotNullOrEmptyT(T, String) |
Ensures the specified array is not null or empty.
| |
| IsNotVirtualPath |
Ensures the specified path is a virtual path which starts with ~/.
| |
| IsNotZeroOrNegative |
Ensures the specified value is a positive integer.
|