C# Class ReactiveUI.ViewContractAttribute

Allows an additional string to make view resolution more specific than just a type. When applied to your IViewFor{T} -derived View, you can select between different Views for a single ViewModel instance.
Inheritance: System.Attribute
Afficher le fichier Open project: reactiveui/ReactiveUI

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
ViewContractAttribute ( string contract ) : System

Constructs the ViewContractAttribute with a specific contract value.

Method Details

ViewContractAttribute() public méthode

Constructs the ViewContractAttribute with a specific contract value.
public ViewContractAttribute ( string contract ) : System
contract string The value of the contract for view /// resolution.
Résultat System