Click or drag to resize
weroSoft AG, Software
RuntimeExtensionsCheckAllEntriesAreUnique Method (ListString, Boolean)
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Check a list of strings if an entry contains more than one time.

Namespace:  WeroSoft.Runtime
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public static void CheckAllEntriesAreUnique(
	this List<string> list2Check,
	bool ignoreCase
)

Parameters

list2Check
Type: System.Collections.GenericListString
The list to check
ignoreCase
Type: SystemBoolean
Set the ignore case value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ListString. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
The function will throw an InvalidOperationException if an entry is more than one time defined.
See Also