Partilhar via


Uniquifier Class

Definition

Provides methods for manipulating string identifiers.

public static class Uniquifier
type Uniquifier = class
Public Class Uniquifier
Inheritance
Uniquifier

Remarks

See Implementation of database providers and extensions for more information and examples.

Methods

Truncate(String, Int32, Nullable<Int32>)

Ensures the given identifier is shorter than the given length by removing the extra characters from the end.

Truncate(String, Int32, String, Nullable<Int32>)

Ensures the given identifier is shorter than the given length by removing the extra characters from the end.

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

Creates a unique identifier by appending a number to the given string.

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

Creates a unique identifier by appending a number to the given string.

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

Creates a unique identifier by appending a number to the given string.

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

Creates a unique identifier by appending a number to the given string.

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

Creates a unique identifier by appending a number to the given string.

Applies to