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
Object ⇦ ContextRedirect ⇦ 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.
Parameters
Depth UInt32
Number of parents to traverse.
Properties
Depth
Number of parents to traverse.