Property Dependencies
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Dependencies
Dependency array. Compared element-wise (Velvet.ObjectIs.AreEqualDeps(object[], object[])) on each element's
runtime type: float and double by raw bit pattern, string by ordinal
content, any other value type by its own equality — so a record struct of equal content
is unchanged — and any other reference type by instance, so a fresh record class instance
of equal content is a change. Where the two branches part is how far the comparison reads: the
reference branch reads the instance and stops, while the value branch is the element's own
Equals, which answers for its fields in turn — a nested record class field by that
record's content. An empty array declares no dependencies and caches for the node's whole life; null
declares no dependency array, which no newly built node's comparison can satisfy.
public object?[]? Dependencies { get; init; }
Property Value
- object[]