Nito.ConnectedProperties provides an API for attaching properties to most objects at runtime.
A connectible property
is a piece of data that may be connected to a carrier object
at runtime. A connectible property is either
. Only properties that are connected have values.
Note: In the documentation and IntelliSense, the term connected property is often used as a synonym for
connectible property. The term connected property does not imply that the connectible property is actually
connected. If there is any possibility of confusion, the term connectible property is used instead of
A carrier object
is any instance capable of having properties connected to it - specifically, a reference type that uses reference equality.
manages the connections between connectible properties and carrier objects. There is a default connector that is sufficient for most people, but you can also create your own connector instance.
All accesses to connectible property values are thread-safe. However, the actual
of the connected property is only thread-safe if the connected property type is thread-safe (e.g., an immutable type).
Table of Contents
Connected Property Values
Extension Method Wrappers
Interfaces and Inheritance
Notes on Naming
How It Works
Named, Implicit, and Explicit Connectors
Visibility of Implicit Connectors
Dynamic Connected Properties