UniqueNameHelperGenerateUniqueName(String, IEnumerableString) Method

Generates an unique name using an existing list of elements and a proposal.

Namespace: Dundas.BI
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public static string GenerateUniqueName(
	string proposal,
	IEnumerable<string> elements
)

Parameters

proposal  String
The proposed value.
elements  IEnumerableString
The existing string elements.

Return Value

String
The generated unique name.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionproposal is or empty.
See Also