Пример #1
0
 public virtual IStructureProperty CreateRootPropertyFrom(PropertyInfo propertyInfo) => new StructureProperty(
     ConvertInfo(propertyInfo),
     DynamicPropertyFactory.GetterFor(propertyInfo));
Пример #2
0
 public virtual IStructureProperty CreateChildPropertyFrom(IStructureProperty parent, PropertyInfo propertyInfo) => new StructureProperty(
     ConvertInfo(propertyInfo, parent),
     DynamicPropertyFactory.GetterFor(propertyInfo));