Esempio n. 1
0
 public virtual IStructureProperty CreateChildPropertyFrom(IStructureProperty parent, PropertyInfo propertyInfo)
 {
     return(new StructureProperty(
                ConvertInfo(propertyInfo, parent),
                DynamicPropertyFactory.GetterFor(propertyInfo),
                DynamicPropertyFactory.SetterFor(propertyInfo)));
 }
Esempio n. 2
0
 public virtual IStructureProperty CreateRootPropertyFrom(PropertyInfo propertyInfo)
 {
     return(new StructureProperty(
                ConvertInfo(propertyInfo),
                DynamicPropertyFactory.GetterFor(propertyInfo),
                DynamicPropertyFactory.SetterFor(propertyInfo)));
 }