The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

SortedObservableCollectionAdaptor<TObject, TKey> Class

Summary

Represents an adaptor which is used to update observable collection from a sorted change set stream.
Namespace
DynamicData.Binding
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["ISortedObservableCollectionAdaptor<TObject, TKey>"] Type["SortedObservableCollectionAdaptor<TObject, TKey>"] class Type type-node

Syntax

public class SortedObservableCollectionAdaptor<TObject, TKey> : 
    ISortedObservableCollectionAdaptor<TObject, TKey>
    where TKey : notnull

Type Parameters

Name Description
TObject The type of the object.
TKey The type of the key.

Constructors

Methods

Name Value Summary
Adapt(ISortedChangeSet<TObject, TKey>, IObservableCollection<TObject>) void
Maintains the specified collection from the changes.

Extension Methods

Name Value Summary
BindCommand<SortedObservableCollectionAdaptor<TObject, TKey>, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<SortedObservableCollectionAdaptor<TObject, TKey>, TControl>>, Expression<Func<TViewModel, TParam?>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<SortedObservableCollectionAdaptor<TObject, TKey>, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<SortedObservableCollectionAdaptor<TObject, TKey>, TControl>>, IObservable<TParam?>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<SortedObservableCollectionAdaptor<TObject, TKey>, TViewModel, TProp, TControl>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<SortedObservableCollectionAdaptor<TObject, TKey>, TControl>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindValidation<SortedObservableCollectionAdaptor<TObject, TKey>, TViewModel, TViewModelProperty, TViewProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, Expression<Func<SortedObservableCollectionAdaptor<TObject, TKey>, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the specified ViewModel property validation to the View property.
BindValidation<SortedObservableCollectionAdaptor<TObject, TKey>, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<SortedObservableCollectionAdaptor<TObject, TKey>, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<SortedObservableCollectionAdaptor<TObject, TKey>, TViewModel, TViewProperty>(TViewModel?, Expression<Func<SortedObservableCollectionAdaptor<TObject, TKey>, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the overall validation of a ViewModel to a specified View property.
BindValidation<SortedObservableCollectionAdaptor<TObject, TKey>, TViewModel, TViewProperty>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper>>, Expression<Func<SortedObservableCollectionAdaptor<TObject, TKey>, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds a ValidationHelper from a ViewModel to a specified View property.
BindValidation<SortedObservableCollectionAdaptor<TObject, TKey>, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<SortedObservableCollectionAdaptor<TObject, TKey>, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<SortedObservableCollectionAdaptor<TObject, TKey>, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<SortedObservableCollectionAdaptor<TObject, TKey>, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.
With<SortedObservableCollectionAdaptor<TObject, TKey>, TKey, TField>(Dictionary<TKey, TField>, IDictionary<TKey, TField>) TBuilder
Adds the specified dictionary to the provided dictionary.