Interface IEnableViewToViewModelBindings<TView, TViewModel>
Represents a View to View Model Binding.
public interface IEnableViewToViewModelBindings<in TView, in TViewModel> where TView : class, IViewFor<in TViewModel> where TViewModel : class, IReactiveObject
Type Parameters
TView
The type for the view.
TViewModel
The type for the viewmodel.
Methods
ApplyBindings(Action<IDisposable>, TView, TViewModel)
Apply control bindings between a View and ViewModel.
void ApplyBindings(Action<IDisposable> disposeWithAction, TView view, TViewModel viewModel)
Parameters
disposeWithAction
Action<IDisposable>The ReactiveUI Disposal Tracker. Used to discard binding registrations when the view is finished with them.
view
TViewInstance of the view.
viewModel
TViewModelInstance of the viewmodel.
ApplyBindings(CompositeDisposable, TView, TViewModel)
Apply control bindings between a View and ViewModel.
void ApplyBindings(CompositeDisposable compositeDisposable, TView view, TViewModel viewModel)
Parameters
compositeDisposable
CompositeDisposableThe Composite Disposable Tracker. Used to discard binding registrations when the view is finished with them.
view
TViewInstance of the view.
viewModel
TViewModelInstance of the viewmodel.