static private GetPersistantName ( |
||
p | ||
Результат | string |
static string GetPersistantName(PropertyInfo p)
{
var a = p.GetCustomAttribute<PersistedNameAttribute>();
return a != null ? a.Name : p.Name;
}