Inheritance: ISetColumn
Example #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);
        }
 public void SetUp()
 {
     accessor = ReflectionHelper.GetAccessor<Address>(x => x.DistanceFromOffice);
     match = new PropertyMatch(accessor);
 }