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

ActivationForViewFetcher.

GetAffinityForView(Type) Method

Summary

Determines the priority that the Activation View Fetcher will be able to process the view type. 0 means it cannot activate the View, value larger than 0 indicates it can activate the View. The class derived off IActivationForViewFetcher which returns the highest affinity value will be used to activate the View.
Namespace
ReactiveUI.XamForms
Containing Type
ActivationForViewFetcher

Syntax

public int GetAffinityForView(Type view)

Parameters

Name Type Description
view Type The type for the View.

Return Value

Type Description
int The affinity value which is equal to 0 or above.