private TestViewModel TestVMFactory(TestModel model) { var retVal = new TestViewModel { Value = model.Value }; retVal.Bind <TestViewModel, int>(Value => retVal.Value = Value).ToProperty(model, m => m.Value, nameof(TestModel)); return(retVal); }