API Reference
Class
ReviewModel
What a review item shows: the app's current choices as label/value rows, the equivalent command line, problems that block running, and the run action. Built fresh each time the review is drawn, so it always matches the choices.
Inheritance
- Object
- ReviewModel
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
- Property MenuItem.ReviewFactory
- Method ReviewModel.Problem
- Method ReviewModel.Row
Accepted by parameters 1
- Method MenuItem.Review
Constructors
public ReviewModel(String? title = null) #Creates a review.
Parameters
- title System.String? = null
- A heading, or null for the item title.
Methods
Problem 2 overloads
public ReviewModel Problem(String problem) #Returns:
ReviewModelAdds a problem that blocks running.
Parameters
- problem System.String
- The problem.
Returns
The review.
public ReviewModel Row(String label, String? value) #Returns:
ReviewModelAdds a row.
Parameters
- label System.String
- The label.
- value System.String?
- The value.
Returns
The review.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public IList<KeyValuePair<String, String>> Rows { get; } #The choices as label/value rows.
public IList<String> Problems { get; } #Problems that block running ("Pick at least one target").
public String? RunText { get; set; } #The caption of the run button; null uses "Run".
public IDictionary<String, MenuItem> Fixes { get; } #The item that fixes each problem, by problem text.