Skip to content

Class ContextRedirect.Distance

Definition

Namespace: StardewUI.Framework.Dom
Assembly: StardewUI.dll

Redirects to an ancestor context by walking up a specified number of levels.

public record ContextRedirect.Distance : StardewUI.Framework.Dom.ContextRedirect, 
    IEquatable<StardewUI.Framework.Dom.ContextRedirect.Distance>

Inheritance
ObjectContextRedirect ⇦ Distance

Implements
IEquatable<Distance>

Members

Constructors

Name Description
Distance(UInt32) Redirects to an ancestor context by walking up a specified number of levels.

Properties

Name Description
Depth Number of parents to traverse.
EqualityContract (Overrides ContextRedirect.get_EqualityContract())

Details

Constructors

Distance(uint)

Redirects to an ancestor context by walking up a specified number of levels.

public Distance(uint Depth);
Parameters

Depth   UInt32
Number of parents to traverse.


Properties

Depth

Number of parents to traverse.

public uint Depth { get; set; }
Property Value

UInt32


EqualityContract

protected System.Type EqualityContract { get; }
Property Value

Type