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)
Summary: Returns affinity for view.
Parameters
| Name | Type | Description |
|---|---|---|
view | Type | The type for the View. |
Returns: int -- The affinity value which is equal to 0 or above.