Class DependencyLoopItem<T>
A helper object for DependencyLoopChecker<T>. Wraps your object to work with the loop checker.
Inherited Members
Namespace: LemonEdge.Utils
Assembly: LemonEdge.Utils.dll
Syntax
public sealed class DependencyLoopItem<T>
Type Parameters
Name | Description |
---|---|
T | Your object type. |
Constructors
DependencyLoopItem()
Declaration
public DependencyLoopItem()
Properties
From
From (one end of a relationship)
Declaration
public Guid From { get; init; }
Property Value
Type | Description |
---|---|
Guid |
Item
The wrapped item
Declaration
public T? Item { get; init; }
Property Value
Type | Description |
---|---|
T |
To
To (the other end of a relationship)
Declaration
public Guid To { get; init; }
Property Value
Type | Description |
---|---|
Guid |