Creates a Hashtable that uses case-insensitive string comparison
associated with invariant culture.
Namespace: NHibernate.UtilAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static IDictionary<string, T> CreateCaseInsensitiveHashtable<T>() |
Visual Basic |
---|
Public Shared Function CreateCaseInsensitiveHashtable(Of T) As IDictionary(Of String, T) |
Visual C++ |
---|
public: generic<typename T> static IDictionary<String^, T>^ CreateCaseInsensitiveHashtable() |
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:NHibernate.Util.CollectionHelper.CreateCaseInsensitiveHashtable``1"]
Return Value
[Missing <returns> documentation for "M:NHibernate.Util.CollectionHelper.CreateCaseInsensitiveHashtable``1"]
Remarks
This is different from the method in CollectionsUtil
in that the latter uses the current culture and is thus vulnerable to the "Turkish I" problem.