Пример #1
0
 public PropertyAccessorCastRW(PropertyInfo p, PropertyAccessorT <SourceT> prop,
                               Func <SourceT, PropertyT> castTo, Func <PropertyT, SourceT> castFrom) : base(p)
 {
     _prop     = prop;
     _castTo   = castTo;
     _castFrom = castFrom;
 }
Пример #2
0
 public PropertyAccessorNullableCastRW(PropertyInfo p, PropertyAccessorT <SourceT> prop,
                                       Func <SourceT, PropertyT> castTo, Func <PropertyT, SourceT> castFrom) : base(p, prop, castTo, castFrom)
 {
 }
Пример #3
0
 public PropertyAccessorCastRO(PropertyInfo p, PropertyAccessorT <SourceT> prop,
                               Func <SourceT, PropertyT> castTo) : base(p)
 {
     _prop   = prop;
     _castTo = castTo;
 }
Пример #4
0
 public PropertyAccessorNullableCastRO(PropertyInfo p, PropertyAccessorT <SourceT> prop,
                                       Func <SourceT, PropertyT> castTo) : base(p, prop, castTo)
 {
 }