PrefixHelper.DeterminePrefixLength<T> method
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 |
See Also
- class T
- class PrefixHelper