namespace: Serenity assembly: Serenity.Net.Services
Determines the prefix length
public static int DeterminePrefixLength<T>(IEnumerable<T> list, Func<T, string> getName)
parameter | description |
---|---|
T | The item type |
list | List of objects |
getName | Gets the field name from a list element |
- class T
- class PrefixHelper