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