Skip to content

AvaloniaActivationForViewFetcher.GetAffinityForView(Type) method

Defined in

Type: AvaloniaActivationForViewFetcher Namespace: Avalonia.ReactiveUI Assembly: ReactiveUI.Avalonia.Autofac.dll

Applies to

netstandard2.0, netstandard2.0, netstandard2.0, netstandard2.0, netstandard2.0

public int GetAffinityForView(Type view)

View source

Summary: Returns affinity for view.

Parameters

NameTypeDescription
viewTypeThe type for the View.

Returns: int -- The affinity value which is equal to 0 or above.