Open this page in the API Guide

UniqueNameHelper.GenerateUniqueName Method (String, IEnumerable<IUniqueName>)

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

Parameters

proposal
Type: System.String
The proposed value.
elements
Type: System.Collections.Generic.IEnumerable<IUniqueName>
The existing elements.

Return Value

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