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