Interface ICommandBinding<TViewModel>
Represents a View to View Model Binding for Commands.
public interface ICommandBinding<TViewModel> where TViewModel : class
Type Parameters
TViewModelThe type for the ViewModel.
Methods
ApplyBinding<TView, TViewProp>(Action<IDisposable>, TView, TViewModel, Expression<Func<TView, TViewProp>>)
Applies a View to View Model Binding.
void ApplyBinding<TView, TViewProp>(Action<IDisposable> d, TView view, TViewModel viewModel, Expression<Func<TView, TViewProp>> viewBinding) where TView : class, IViewFor<TViewModel>
Parameters
dAction<IDisposable>The disposable action registration. Used to clean up when bindings fall out of scope.
viewTViewThe instance of the View to bind.
viewModelTViewModelThe instance of the ViewModel to Bind.
viewBindingExpression<Func<TView, TViewProp>>Expression of the View Property to Bind to.
Type Parameters
TViewThe type for the view.
TViewPropThe type for the View Property.
ApplyBinding<TView, TViewProp>(CompositeDisposable, TView, TViewModel, Expression<Func<TView, TViewProp>>)
Applies a View to View Model Binding.
void ApplyBinding<TView, TViewProp>(CompositeDisposable compositeDisposable, TView view, TViewModel viewModel, Expression<Func<TView, TViewProp>> viewBinding) where TView : class, IViewFor<TViewModel>
Parameters
compositeDisposableCompositeDisposableThe disposable action registration. Used to clean up when bindings fall out of scope.
viewTViewThe instance of the View to bind.
viewModelTViewModelThe instance of the ViewModel to Bind.
viewBindingExpression<Func<TView, TViewProp>>Expression of the View Property to Bind to.
Type Parameters
TViewThe type for the view.
TViewPropThe type for the View Property.