UniqueNameHelperGenerateUniqueName Method (String, IEnumerableIUniqueName)

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 (24.4.0.1000)
Syntax
public static string GenerateUniqueName(
	string proposal,
	IEnumerable<IUniqueName> elements
)

Parameters

proposal
Type: SystemString
The proposed value.
elements
Type: System.Collections.GenericIEnumerableIUniqueName
The existing elements.

Return Value

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