public IPropertyMapper <TInterface, TState> UseStateProperty(Expression <Func <TState, TArg> > statePropertySelector) { if (_interfaceProperty.GetGetMethod() != null) { _mapper.Bind(_interfaceProperty.GetGetMethod(), StateMappings.GenerateGetter <TInterface, TState, TArg>(statePropertySelector.PropertyFromGetter()).Method); } if (_interfaceProperty.GetSetMethod() != null) { _mapper.Bind(_interfaceProperty.GetSetMethod(), StateMappings.GenerateSetter <TInterface, TState, TArg>(statePropertySelector.PropertyFromGetter()).Method); } return(_mapper); }