StringKeyedDictionaryTValue(IDictionaryString, TValue, StringSegmentComparer) Constructor
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public StringKeyedDictionary(
IDictionary<string, TValue> dictionary,
StringSegmentComparer? comparer = null
)
Public Sub New (
dictionary As IDictionary(Of String, TValue),
Optional comparer As StringSegmentComparer = Nothing
)
public:
StringKeyedDictionary(
IDictionary<String^, TValue>^ dictionary,
StringSegmentComparer^ comparer = nullptr
)
new :
dictionary : IDictionary<string, 'TValue> *
?comparer : StringSegmentComparer
(* Defaults:
let _comparer = defaultArg comparer null
*)
-> StringKeyedDictionary
Parameters
- dictionary IDictionaryString, TValue
- The dictionary whose elements are added to the StringKeyedDictionaryTValue.
- comparer StringSegmentComparer (Optional)
- A StringSegmentComparer instance to use when comparing keys.
When , ordinal comparison will be used. This parameter is optional.
Default value: .