Inheritance: ISetColumn
Ejemplo n.º 1
0
        public ObjectComparer <T> MatchOn(Expression <Func <T, object> > expression)
        {
            var accessor = expression.ToAccessor();
            var match    = new PropertyMatch(accessor);

            _properties.Add(match);

            return(this);
        }
Ejemplo n.º 2
0
 public void SetUp()
 {
     accessor = ReflectionHelper.GetAccessor<Address>(x => x.DistanceFromOffice);
     match = new PropertyMatch(accessor);
 }