Click or drag to resize

imbStringGeneratorsmakeUniqueName Method (String, imbStringGeneratorsIsNameTaken, String, Int32)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Creates unique string name. Refusal delegate returns true

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string makeUniqueName(
	this string candidate,
	imbStringGeneratorsIsNameTaken test,
	string format = "D3",
	int limit = 1000
)
Request Example View Source

Parameters

candidate
Type: SystemString
The candidate.
test
Type: imbSCI.Core.extensions.textimbStringGeneratorsIsNameTaken
The test.
format (Optional)
Type: SystemString
The format.
limit (Optional)
Type: SystemInt32
The limit.

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. 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).
See Also