protected void PresentFieldSpecificState <TCommand, TCommandProperty, TViewModelProperty>( CommandValidationState <TCommand> validationState, Expression <Func <TCommand, TCommandProperty> > commandProperty, Func <TViewModel, TViewModelProperty> viewModelProperty) where TViewModelProperty : IInvalidatableInput { validationState .GetMessagesForProperty(commandProperty) .OutputValidationToViewModel(GetViewModel(), viewModelProperty); }
protected void PresentState <TCommand>(CommandValidationState <TCommand> validationState) { validationState.GetMessages().OutputValidationToViewModel(GetViewModel()); }