UniqueNameHelperGenerateUniqueName Method (String, IEnumerableString) |
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.3.0.1000)
Syntax public static string GenerateUniqueName(
string proposal,
IEnumerable<string> elements
)
Public Shared Function GenerateUniqueName (
proposal As String,
elements As IEnumerable(Of String)
) As String
public:
static String^ GenerateUniqueName(
String^ proposal,
IEnumerable<String^>^ elements
)
static member GenerateUniqueName :
proposal : string *
elements : IEnumerable<string> -> string
Parameters
- proposal
- Type: SystemString
The proposed value. - elements
- Type: System.Collections.GenericIEnumerableString
The existing string elements.
Return Value
Type:
StringThe generated unique name.
Exceptions See Also