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

ValidationText Class

Summary

Container for validation text.
Namespace
ReactiveUI.Validation.Collections
Interfaces
  • IEnumerable<string>
  • IEnumerable
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IEnumerable<string>"] Type-.->Interface1["IEnumerable"] Type["ValidationText"] class Type type-node

Syntax

public class ValidationText : IEnumerable<string>, IEnumerable

Fields

Name Constant Value Summary
Empty
The empty validation text singleton instance contains single empty string.
static
None
The none validation text singleton instance contains no items.
static

Extension Methods

Name Value Summary
AsArray<string>() T[]
Casts the enumerable to an array if it is already an array. Otherwise call ToArray.
AsList<string>() List<T>
Casts the enumerable to an array if it is already an array. Otherwise call ToList.
AsObservableChangeSet<string, TKey>(Func<string, TKey>, bool) IObservable<IChangeSet<TObject, TKey>>
Converts the enumerable to an observable change set. Generates a snapshot in time based of enumerable.
AsObservableChangeSet<string>(bool) IObservable<IChangeSet<TObject>>
Converts the enumerable to an observable change set. Generates a snapshot in time based of enumerable.
BindCommand<ValidationText, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<ValidationText, TControl>>, Expression<Func<TViewModel, TParam?>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<ValidationText, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<ValidationText, TControl>>, IObservable<TParam?>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<ValidationText, TViewModel, TProp, TControl>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<ValidationText, TControl>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindValidation<ValidationText, TViewModel, TViewModelProperty, TViewProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, Expression<Func<ValidationText, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the specified ViewModel property validation to the View property.
BindValidation<ValidationText, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<ValidationText, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<ValidationText, TViewModel, TViewProperty>(TViewModel?, Expression<Func<ValidationText, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the overall validation of a ViewModel to a specified View property.
BindValidation<ValidationText, TViewModel, TViewProperty>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, Expression<Func<ValidationText, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds a ValidationHelper from a ViewModel to a specified View property.
BindValidation<ValidationText, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<ValidationText, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<ValidationText, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<ValidationText, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
Duplicates<string, TValue>(Func<string, TValue>) IEnumerable<T>
Returns any duplicated values from the source.
FirstOrOptional<string>(Func<string, bool>) Optional<T>
Overloads Enumerable.FirstOrDefault() and wraps the result in a Optional &gt;T container.
IndexOf<string>(string) int
Finds the index of the current item using the specified equality comparer.
From ListEx
IndexOf<string>(string, IEqualityComparer<string>) int
Finds the index of the current item using the specified equality comparer.
From ListEx
IndexOfMany<string>(IEnumerable<string>) IEnumerable<ItemWithIndex<T>>
Finds the index of many items as specified in the secondary enumerable.
IndexOfMany<string, TResult>(IEnumerable<string>, Func<string, int, TResult>) IEnumerable<TResult>
Finds the index of many items as specified in the secondary enumerable.
IndexOfOptional<string>(string, IEqualityComparer<string>?) Optional<ItemWithIndex<T>>
Lookups the item using the specified comparer. If matched, the item's index is also returned.
From ListEx
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.
WhenAnyObservable<ValidationText, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Expression<Func<ValidationText, IObservable<T1>?>>, Expression<Func<ValidationText, IObservable<T2>?>>, Expression<Func<ValidationText, IObservable<T3>?>>, Expression<Func<ValidationText, IObservable<T4>?>>, Expression<Func<ValidationText, IObservable<T5>?>>, Expression<Func<ValidationText, IObservable<T6>?>>, Expression<Func<ValidationText, IObservable<T7>?>>, Expression<Func<ValidationText, IObservable<T8>?>>, Expression<Func<ValidationText, IObservable<T9>?>>, Expression<Func<ValidationText, IObservable<T10>?>>, Expression<Func<ValidationText, IObservable<T11>?>>, Expression<Func<ValidationText, IObservable<T12>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Expression<Func<ValidationText, IObservable<T1>?>>, Expression<Func<ValidationText, IObservable<T2>?>>, Expression<Func<ValidationText, IObservable<T3>?>>, Expression<Func<ValidationText, IObservable<T4>?>>, Expression<Func<ValidationText, IObservable<T5>?>>, Expression<Func<ValidationText, IObservable<T6>?>>, Expression<Func<ValidationText, IObservable<T7>?>>, Expression<Func<ValidationText, IObservable<T8>?>>, Expression<Func<ValidationText, IObservable<T9>?>>, Expression<Func<ValidationText, IObservable<T10>?>>, Expression<Func<ValidationText, IObservable<T11>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Expression<Func<ValidationText, IObservable<T1>?>>, Expression<Func<ValidationText, IObservable<T2>?>>, Expression<Func<ValidationText, IObservable<T3>?>>, Expression<Func<ValidationText, IObservable<T4>?>>, Expression<Func<ValidationText, IObservable<T5>?>>, Expression<Func<ValidationText, IObservable<T6>?>>, Expression<Func<ValidationText, IObservable<T7>?>>, Expression<Func<ValidationText, IObservable<T8>?>>, Expression<Func<ValidationText, IObservable<T9>?>>, Expression<Func<ValidationText, IObservable<T10>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Expression<Func<ValidationText, IObservable<T1>?>>, Expression<Func<ValidationText, IObservable<T2>?>>, Expression<Func<ValidationText, IObservable<T3>?>>, Expression<Func<ValidationText, IObservable<T4>?>>, Expression<Func<ValidationText, IObservable<T5>?>>, Expression<Func<ValidationText, IObservable<T6>?>>, Expression<Func<ValidationText, IObservable<T7>?>>, Expression<Func<ValidationText, IObservable<T8>?>>, Expression<Func<ValidationText, IObservable<T9>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet, T1, T2, T3, T4, T5, T6, T7, T8>(Expression<Func<ValidationText, IObservable<T1>?>>, Expression<Func<ValidationText, IObservable<T2>?>>, Expression<Func<ValidationText, IObservable<T3>?>>, Expression<Func<ValidationText, IObservable<T4>?>>, Expression<Func<ValidationText, IObservable<T5>?>>, Expression<Func<ValidationText, IObservable<T6>?>>, Expression<Func<ValidationText, IObservable<T7>?>>, Expression<Func<ValidationText, IObservable<T8>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet, T1, T2, T3, T4, T5, T6, T7>(Expression<Func<ValidationText, IObservable<T1>?>>, Expression<Func<ValidationText, IObservable<T2>?>>, Expression<Func<ValidationText, IObservable<T3>?>>, Expression<Func<ValidationText, IObservable<T4>?>>, Expression<Func<ValidationText, IObservable<T5>?>>, Expression<Func<ValidationText, IObservable<T6>?>>, Expression<Func<ValidationText, IObservable<T7>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet, T1, T2, T3, T4, T5, T6>(Expression<Func<ValidationText, IObservable<T1>?>>, Expression<Func<ValidationText, IObservable<T2>?>>, Expression<Func<ValidationText, IObservable<T3>?>>, Expression<Func<ValidationText, IObservable<T4>?>>, Expression<Func<ValidationText, IObservable<T5>?>>, Expression<Func<ValidationText, IObservable<T6>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet, T1, T2, T3, T4, T5>(Expression<Func<ValidationText, IObservable<T1>?>>, Expression<Func<ValidationText, IObservable<T2>?>>, Expression<Func<ValidationText, IObservable<T3>?>>, Expression<Func<ValidationText, IObservable<T4>?>>, Expression<Func<ValidationText, IObservable<T5>?>>, Func<T1?, T2?, T3?, T4?, T5?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet, T1, T2, T3, T4>(Expression<Func<ValidationText, IObservable<T1>?>>, Expression<Func<ValidationText, IObservable<T2>?>>, Expression<Func<ValidationText, IObservable<T3>?>>, Expression<Func<ValidationText, IObservable<T4>?>>, Func<T1?, T2?, T3?, T4?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet, T1, T2, T3>(Expression<Func<ValidationText, IObservable<T1>?>>, Expression<Func<ValidationText, IObservable<T2>?>>, Expression<Func<ValidationText, IObservable<T3>?>>, Func<T1?, T2?, T3?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet, T1, T2>(Expression<Func<ValidationText, IObservable<T1>?>>, Expression<Func<ValidationText, IObservable<T2>?>>, Func<T1?, T2?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet>(Expression<Func<ValidationText, IObservable<TRet>?>>) IObservable<TRet>
Observe a observable which is set to a property, and automatically subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet>(Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet>(Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet>(Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet>(Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet>(Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet>(Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet>(Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet>(Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet>(Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet>(Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<ValidationText, TRet>(Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>, Expression<Func<ValidationText, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
With<ValidationText, TKey, TField>(Dictionary<TKey, TField>, IDictionary<TKey, TField>) TBuilder
Adds the specified dictionary to the provided dictionary.