Lingua

Uniquifier.Uniquify Metodo

Definizione

Overload

Nome Descrizione
Uniquify(String, ISet<String>, String, Int32)

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

Uniquify(String, HashSet<String>, Int32, String, Int32)

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

Uniquify(String, ISet<String>, Int32, String, Int32)

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

Uniquify<T>(String, IReadOnlyDictionary<String,T>, Int32)

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

Uniquify<T>(String, IReadOnlyDictionary<String,T>, String, Int32)

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

Uniquify<T>(String, Dictionary<String,T>, Int32, String, Int32)

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

Uniquify<T>(String, IReadOnlyDictionary<String,T>, Int32, String, Int32)

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

Uniquify<T>(String, Dictionary<String,T>, Func<ReadOnlySpan<Char>,ReadOnlySpan<Char>>, Int32, String, Int32)

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

Uniquify<TKey,TValue>(String, IReadOnlyDictionary<TKey,TValue>, Func<String,TKey>, Int32)

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

Uniquify<TKey,TValue>(String, IReadOnlyDictionary<TKey,TValue>, Func<String,TKey>, String, Int32)

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

Uniquify<TKey,TValue>(String, IReadOnlyDictionary<TKey,TValue>, Func<String,TKey>, Int32, String, Int32)

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

Uniquify(String, ISet<String>, String, Int32)

Origine:
Uniquifier.cs
Origine:
Uniquifier.cs

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

public static string Uniquify(string currentIdentifier, System.Collections.Generic.ISet<string> otherIdentifiers, string? suffix, int maxLength);
static member Uniquify : string * System.Collections.Generic.ISet<string> * string * int -> string
Public Shared Function Uniquify (currentIdentifier As String, otherIdentifiers As ISet(Of String), suffix As String, maxLength As Integer) As String

Parametri

currentIdentifier
String

Identificatore di base.

otherIdentifiers
ISet<String>

Dizionario in cui verrà usato l'identificatore come parte della chiave.

suffix
String

Suffisso facoltativo da aggiungere dopo l'uniquifier.

maxLength
Int32

Lunghezza massima dell'identificatore.

Valori restituiti

Identificatore univoco.

Si applica a

Uniquify(String, HashSet<String>, Int32, String, Int32)

Origine:
Uniquifier.cs

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

public static string Uniquify(string currentIdentifier, System.Collections.Generic.HashSet<string> otherIdentifiers, int maxLength, string? suffix = default, int uniquifier = 1);
static member Uniquify : string * System.Collections.Generic.HashSet<string> * int * string * int -> string
Public Shared Function Uniquify (currentIdentifier As String, otherIdentifiers As HashSet(Of String), maxLength As Integer, Optional suffix As String = Nothing, Optional uniquifier As Integer = 1) As String

Parametri

currentIdentifier
String

Identificatore di base.

otherIdentifiers
HashSet<String>

Dizionario in cui verrà usato l'identificatore come parte della chiave.

maxLength
Int32

Lunghezza massima dell'identificatore.

suffix
String

Suffisso facoltativo da aggiungere dopo l'uniquifier.

uniquifier
Int32

Numero iniziale facoltativo per l'uniquifier.

Valori restituiti

Identificatore univoco.

Si applica a

Uniquify(String, ISet<String>, Int32, String, Int32)

Origine:
Uniquifier.cs

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

public static string Uniquify(string currentIdentifier, System.Collections.Generic.ISet<string> otherIdentifiers, int maxLength, string? suffix = default, int uniquifier = 1);
static member Uniquify : string * System.Collections.Generic.ISet<string> * int * string * int -> string
Public Shared Function Uniquify (currentIdentifier As String, otherIdentifiers As ISet(Of String), maxLength As Integer, Optional suffix As String = Nothing, Optional uniquifier As Integer = 1) As String

Parametri

currentIdentifier
String

Identificatore di base.

otherIdentifiers
ISet<String>

Dizionario in cui verrà usato l'identificatore come parte della chiave.

maxLength
Int32

Lunghezza massima dell'identificatore.

suffix
String

Suffisso facoltativo da aggiungere dopo l'uniquifier.

uniquifier
Int32

Numero iniziale facoltativo per l'uniquifier.

Valori restituiti

Identificatore univoco.

Si applica a

Uniquify<T>(String, IReadOnlyDictionary<String,T>, Int32)

Origine:
Uniquifier.cs
Origine:
Uniquifier.cs
Origine:
Uniquifier.cs
Origine:
Uniquifier.cs
Origine:
Uniquifier.cs
Origine:
Uniquifier.cs
Origine:
Uniquifier.cs
Origine:
Uniquifier.cs

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

public static string Uniquify<T>(string currentIdentifier, System.Collections.Generic.IReadOnlyDictionary<string,T> otherIdentifiers, int maxLength);
static member Uniquify : string * System.Collections.Generic.IReadOnlyDictionary<string, 'T> * int -> string
Public Shared Function Uniquify(Of T) (currentIdentifier As String, otherIdentifiers As IReadOnlyDictionary(Of String, T), maxLength As Integer) As String

Parametri di tipo

T

Tipo dell'oggetto a cui viene mappato l'identificatore.

Parametri

currentIdentifier
String

Identificatore di base.

otherIdentifiers
IReadOnlyDictionary<String,T>

Dizionario in cui verrà usato l'identificatore come chiave.

maxLength
Int32

Lunghezza massima dell'identificatore.

Valori restituiti

Identificatore univoco.

Si applica a

Uniquify<T>(String, IReadOnlyDictionary<String,T>, String, Int32)

Origine:
Uniquifier.cs
Origine:
Uniquifier.cs

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

public static string Uniquify<T>(string currentIdentifier, System.Collections.Generic.IReadOnlyDictionary<string,T> otherIdentifiers, string? suffix, int maxLength);
static member Uniquify : string * System.Collections.Generic.IReadOnlyDictionary<string, 'T> * string * int -> string
Public Shared Function Uniquify(Of T) (currentIdentifier As String, otherIdentifiers As IReadOnlyDictionary(Of String, T), suffix As String, maxLength As Integer) As String

Parametri di tipo

T

Tipo dell'oggetto a cui viene mappato l'identificatore.

Parametri

currentIdentifier
String

Identificatore di base.

otherIdentifiers
IReadOnlyDictionary<String,T>

Dizionario in cui verrà usato l'identificatore come chiave.

suffix
String

Suffisso facoltativo da aggiungere dopo l'uniquifier.

maxLength
Int32

Lunghezza massima dell'identificatore.

Valori restituiti

Identificatore univoco.

Si applica a

Uniquify<T>(String, Dictionary<String,T>, Int32, String, Int32)

Origine:
Uniquifier.cs

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

public static string Uniquify<T>(string currentIdentifier, System.Collections.Generic.Dictionary<string,T> otherIdentifiers, int maxLength, string? suffix = default, int uniquifier = 1);
static member Uniquify : string * System.Collections.Generic.Dictionary<string, 'T> * int * string * int -> string
Public Shared Function Uniquify(Of T) (currentIdentifier As String, otherIdentifiers As Dictionary(Of String, T), maxLength As Integer, Optional suffix As String = Nothing, Optional uniquifier As Integer = 1) As String

Parametri di tipo

T

Tipo dell'oggetto a cui viene mappato l'identificatore.

Parametri

currentIdentifier
String

Identificatore di base.

otherIdentifiers
Dictionary<String,T>

Dizionario in cui verrà usato l'identificatore come parte della chiave.

maxLength
Int32

Lunghezza massima dell'identificatore.

suffix
String

Suffisso facoltativo da aggiungere dopo l'uniquifier.

uniquifier
Int32

Numero iniziale facoltativo per l'uniquifier.

Valori restituiti

Identificatore univoco.

Si applica a

Uniquify<T>(String, IReadOnlyDictionary<String,T>, Int32, String, Int32)

Origine:
Uniquifier.cs

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

public static string Uniquify<T>(string currentIdentifier, System.Collections.Generic.IReadOnlyDictionary<string,T> otherIdentifiers, int maxLength, string? suffix = default, int uniquifier = 1);
static member Uniquify : string * System.Collections.Generic.IReadOnlyDictionary<string, 'T> * int * string * int -> string
Public Shared Function Uniquify(Of T) (currentIdentifier As String, otherIdentifiers As IReadOnlyDictionary(Of String, T), maxLength As Integer, Optional suffix As String = Nothing, Optional uniquifier As Integer = 1) As String

Parametri di tipo

T

Tipo dell'oggetto a cui viene mappato l'identificatore.

Parametri

currentIdentifier
String

Identificatore di base.

otherIdentifiers
IReadOnlyDictionary<String,T>

Dizionario in cui verrà usato l'identificatore come chiave.

maxLength
Int32

Lunghezza massima dell'identificatore.

suffix
String

Suffisso facoltativo da aggiungere dopo l'uniquifier.

uniquifier
Int32

Numero iniziale facoltativo per l'uniquifier.

Valori restituiti

Identificatore univoco.

Si applica a

Uniquify<T>(String, Dictionary<String,T>, Func<ReadOnlySpan<Char>,ReadOnlySpan<Char>>, Int32, String, Int32)

Origine:
Uniquifier.cs

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

public static string Uniquify<T>(string currentIdentifier, System.Collections.Generic.Dictionary<string,T> otherIdentifiers, Func<ReadOnlySpan<char>,ReadOnlySpan<char>> keySelector, int maxLength, string? suffix = default, int uniquifier = 1);
static member Uniquify : string * System.Collections.Generic.Dictionary<string, 'T> * Func<ReadOnlySpan<char>, ReadOnlySpan<char>> * int * string * int -> string
Public Shared Function Uniquify(Of T) (currentIdentifier As String, otherIdentifiers As Dictionary(Of String, T), keySelector As Func(Of ReadOnlySpan(Of Char), ReadOnlySpan(Of Char)), maxLength As Integer, Optional suffix As String = Nothing, Optional uniquifier As Integer = 1) As String

Parametri di tipo

T

Tipo dell'oggetto a cui viene mappato l'identificatore.

Parametri

currentIdentifier
String

Identificatore di base.

otherIdentifiers
Dictionary<String,T>

Dizionario in cui verrà usato l'identificatore come parte della chiave.

keySelector
Func<ReadOnlySpan<Char>,ReadOnlySpan<Char>>

Crea l'oggetto chiave da un identificatore.

maxLength
Int32

Lunghezza massima dell'identificatore.

suffix
String

Suffisso facoltativo da aggiungere dopo l'uniquifier.

uniquifier
Int32

Numero iniziale facoltativo per l'uniquifier.

Valori restituiti

Identificatore univoco.

Si applica a

Uniquify<TKey,TValue>(String, IReadOnlyDictionary<TKey,TValue>, Func<String,TKey>, Int32)

Origine:
Uniquifier.cs
Origine:
Uniquifier.cs
Origine:
Uniquifier.cs
Origine:
Uniquifier.cs
Origine:
Uniquifier.cs
Origine:
Uniquifier.cs
Origine:
Uniquifier.cs
Origine:
Uniquifier.cs

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

public static string Uniquify<TKey,TValue>(string currentIdentifier, System.Collections.Generic.IReadOnlyDictionary<TKey,TValue> otherIdentifiers, Func<string,TKey> keySelector, int maxLength);
static member Uniquify : string * System.Collections.Generic.IReadOnlyDictionary<'Key, 'Value> * Func<string, 'Key> * int -> string
Public Shared Function Uniquify(Of TKey, TValue) (currentIdentifier As String, otherIdentifiers As IReadOnlyDictionary(Of TKey, TValue), keySelector As Func(Of String, TKey), maxLength As Integer) As String

Parametri di tipo

TKey

Tipo della chiave che contiene l'identificatore.

TValue

Tipo dell'oggetto a cui viene mappato l'identificatore.

Parametri

currentIdentifier
String

Identificatore di base.

otherIdentifiers
IReadOnlyDictionary<TKey,TValue>

Dizionario in cui verrà usato l'identificatore come parte della chiave.

keySelector
Func<String,TKey>

Crea l'oggetto chiave da un identificatore.

maxLength
Int32

Lunghezza massima dell'identificatore.

Valori restituiti

Identificatore univoco.

Si applica a

Uniquify<TKey,TValue>(String, IReadOnlyDictionary<TKey,TValue>, Func<String,TKey>, String, Int32)

Origine:
Uniquifier.cs
Origine:
Uniquifier.cs

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

public static string Uniquify<TKey,TValue>(string currentIdentifier, System.Collections.Generic.IReadOnlyDictionary<TKey,TValue> otherIdentifiers, Func<string,TKey> keySelector, string? suffix, int maxLength);
static member Uniquify : string * System.Collections.Generic.IReadOnlyDictionary<'Key, 'Value> * Func<string, 'Key> * string * int -> string
Public Shared Function Uniquify(Of TKey, TValue) (currentIdentifier As String, otherIdentifiers As IReadOnlyDictionary(Of TKey, TValue), keySelector As Func(Of String, TKey), suffix As String, maxLength As Integer) As String

Parametri di tipo

TKey

Tipo della chiave che contiene l'identificatore.

TValue

Tipo dell'oggetto a cui viene mappato l'identificatore.

Parametri

currentIdentifier
String

Identificatore di base.

otherIdentifiers
IReadOnlyDictionary<TKey,TValue>

Dizionario in cui verrà usato l'identificatore come parte della chiave.

keySelector
Func<String,TKey>

Crea l'oggetto chiave da un identificatore.

suffix
String

Suffisso facoltativo da aggiungere dopo l'uniquifier.

maxLength
Int32

Lunghezza massima dell'identificatore.

Valori restituiti

Identificatore univoco.

Si applica a

Uniquify<TKey,TValue>(String, IReadOnlyDictionary<TKey,TValue>, Func<String,TKey>, Int32, String, Int32)

Origine:
Uniquifier.cs

Crea un identificatore univoco aggiungendo un numero alla stringa specificata.

public static string Uniquify<TKey,TValue>(string currentIdentifier, System.Collections.Generic.IReadOnlyDictionary<TKey,TValue> otherIdentifiers, Func<string,TKey> keySelector, int maxLength, string? suffix = default, int uniquifier = 1);
static member Uniquify : string * System.Collections.Generic.IReadOnlyDictionary<'Key, 'Value> * Func<string, 'Key> * int * string * int -> string
Public Shared Function Uniquify(Of TKey, TValue) (currentIdentifier As String, otherIdentifiers As IReadOnlyDictionary(Of TKey, TValue), keySelector As Func(Of String, TKey), maxLength As Integer, Optional suffix As String = Nothing, Optional uniquifier As Integer = 1) As String

Parametri di tipo

TKey

Tipo della chiave che contiene l'identificatore.

TValue

Tipo dell'oggetto a cui viene mappato l'identificatore.

Parametri

currentIdentifier
String

Identificatore di base.

otherIdentifiers
IReadOnlyDictionary<TKey,TValue>

Dizionario in cui verrà usato l'identificatore come parte della chiave.

keySelector
Func<String,TKey>

Crea l'oggetto chiave da un identificatore.

maxLength
Int32

Lunghezza massima dell'identificatore.

suffix
String

Suffisso facoltativo da aggiungere dopo l'uniquifier.

uniquifier
Int32

Numero iniziale facoltativo per l'uniquifier.

Valori restituiti

Identificatore univoco.

Si applica a