Class
BaselineView
ConsoleMonster.Changes
A property matrix with differences highlighted against a reference column. Uses standard table wrapping and sizing.
Inheritance
- object
- BaselineView
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 2
- Extension method BaselineView.Title
- Method ChangesFluent.Title
Accepted by parameters 2
- Extension method BaselineView.Title
- Method ChangesFluent.Title
Constructors
public BaselineView(BaselineComparison comparison) #Creates an embeddable baseline matrix.
Parameters
- comparison ConsoleMonster.Changes.BaselineComparison
- The structured comparison.
Methods
public Size Measure(Constraints constraints, RenderContext context) #Returns the size the widget wants within the constraints.
Parameters
- constraints ConsoleMonster.Layout.Constraints
- The space offered.
- context ConsoleMonster.Canvas.RenderContext
- Profile, theme and glyphs.
public void Render(Region region, RenderContext context) #Renders into a region. The region may be smaller or larger than the measured size.
Parameters
- region ConsoleMonster.Canvas.Region
- The target region.
- context ConsoleMonster.Canvas.RenderContext
- Profile, theme and glyphs.
Inherited Methods
Properties
public BaselineComparison Comparison { get; } #The comparison shown by this widget.
Extension Methods
public static BaselineView Title(BaselineView baselineView, string? value) #Sets BaselineView.Title: An optional markup title.
Parameters
- baselineView ConsoleMonster.Changes.BaselineView
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
baselineView.Title = value; baselineView.Title(value);