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
Datei anzeigen Open project: reactiveui/ReactiveUI

Private Properties

Property Type Description

Public Methods

Method Description
ViewContractAttribute ( string contract ) : System

Constructs the ViewContractAttribute with a specific contract value.

Method Details

ViewContractAttribute() public method

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