Skip to content

ValidatableSelectorCallback

Andrei Fangli edited this page Jun 4, 2021 · 1 revision
API / ValidatableSelectorCallback<TItem, TValidatable> type

Represents a validatable selector callback.

type ValidatableSelectorCallback<TItem, TValidatableViewModel extends IValidatable & INotifyPropertiesChanged> = (source: TItem) => TValidatableViewModel

Template Parameters

  • TItem: the type of items from which to select validatable objects.
  • TValidatableViewModel: the type of validatable objects that are selected from an item. Must implement IValidatable and INotifyPropertiesChanged.

Parameters

  • source: TItem, the item from which a validatable is selected.

Returns: TValidatable

Returns a validatable selected from the provided source.

Clone this wiki locally