Method MakeUnique
- Namespace
- Oscova.Agents.Persistence
- Assembly
- Oscova.Agents.dll
MakeUnique(string, ISet<string>)
Returns slug if free, otherwise appends a numeric suffix.
public static string MakeUnique(string slug, ISet<string> existingSlugs)Returns slug if free, otherwise appends a numeric suffix.
public static string MakeUnique(string slug, ISet<string> existingSlugs)