static public IPropertyDescriptionChain <TOwner, TNewValue> Add <TOwner, TValue, TNewValue>(this IPropertyDescriptionChain <TOwner, TValue> _this, IPropertyDescription <TValue, TNewValue> propertyDescription)
     where TOwner : class
     where TValue : class
 {
     return(new PropertyDescriptionChain <TOwner, TNewValue>(_this.FirstNode, _this.Nodes.Skip(1).Add(propertyDescription).ToList()));
 }
 static public IPropertyDescriptionChain <TOwner> Add <TOwner>(this IPropertyDescriptionChain <TOwner> _this, IPropertyDescription propertyDescription)
     where TOwner : class
 {
     return(new PropertyDescriptionChain <TOwner>(_this.FirstNode, _this.Nodes.Skip(1).Add(propertyDescription).ToList()));
 }
예제 #3
0
 public PropertyInfoWithPrefix(IPropertyDescriptionChain path, PropertyInfo propertyDescription, object owner)
 {
     Path  = path;
     Info  = propertyDescription;
     Owner = owner;
 }