DefinitionalObjectDictionaryItemsAreSameDefinitionTKey, TValue Method |
Determines if two dictionaries contain items with the same definition, or are both .
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static bool DictionaryItemsAreSameDefinition<TKey, TValue>(
IDictionary<TKey, TValue> first,
IDictionary<TKey, TValue> second
)
Public Shared Function DictionaryItemsAreSameDefinition(Of TKey, TValue) (
first As IDictionary(Of TKey, TValue),
second As IDictionary(Of TKey, TValue)
) As Boolean
public:
generic<typename TKey, typename TValue>
static bool DictionaryItemsAreSameDefinition(
IDictionary<TKey, TValue>^ first,
IDictionary<TKey, TValue>^ second
)
static member DictionaryItemsAreSameDefinition :
first : IDictionary<'TKey, 'TValue> *
second : IDictionary<'TKey, 'TValue> -> bool
Parameters
- first
- Type: System.Collections.GenericIDictionaryTKey, TValue
The first dictionary, which may be null. - second
- Type: System.Collections.GenericIDictionaryTKey, TValue
The second dictionary, which may be null.
Type Parameters
- TKey
- The type of the keys in the dictionary.
- TValue
- The type of the values in the dictionary.
Return Value
Type:
Boolean if the two dictionaries contain items with the same definition; otherwise
.
Remarks See Also