private static string Name(HierarchicalPropertyInfo propertyInfo) { return(string.Join(".", propertyInfo.Hierarchy.Select(p => p.Name))); }
private static PropertyInfo Info([NotNull] HierarchicalPropertyInfo propertyInfo) { return(propertyInfo.Hierarchy.LastOrDefault()); }
public static string Path([NotNull] HierarchicalPropertyInfo propertyInfo) { Require.NotNull(propertyInfo, "propertyInfo"); return(string.Join(".", propertyInfo.Hierarchy.Select(p => p.Name))); }