PropertyInvalidExceptionValidateNotEmptyTKey, TValue Method (IDictionaryTKey, TValue, String) |
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static void ValidateNotEmpty<TKey, TValue>(
IDictionary<TKey, TValue> value,
string propertyName
)
Public Shared Sub ValidateNotEmpty(Of TKey, TValue) (
value As IDictionary(Of TKey, TValue),
propertyName As String
)
public:
generic<typename TKey, typename TValue>
static void ValidateNotEmpty(
IDictionary<TKey, TValue>^ value,
String^ propertyName
)
static member ValidateNotEmpty :
value : IDictionary<'TKey, 'TValue> *
propertyName : string -> unit
Parameters
- value
- Type: System.Collections.GenericIDictionaryTKey, TValue
The property value. - propertyName
- Type: SystemString
The name of the property.
Type Parameters
- TKey
- The type of keys in the dictionary.
- TValue
- The type of values in the dictionary.
Exceptions See Also