AssertUtils
Assembly: ServiceStack.Common.dll
View Source
Declaration
public static class AssertUtils
Methods
AreNotNull<T>(T[])
View Source
Declaration
public static void AreNotNull<T>(params T[] fields)
Parameters
Type | Name |
---|---|
<T>[] | fields |
Type Parameters
T
AreNotNull(IDictionary<String, Object>)
Asserts that the supplied arguments are not null.
AssertUtils.AreNotNull(new Dictionary<string,object>{ {"name",null} }); will throw new ArgumentNullException("name");
View Source
Declaration
public static void AreNotNull(IDictionary<string, object> fieldMap)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String,System.Object> | fieldMap | The field map. |
|