Page cover

puzzle-pieceExtending the System

Binding System can be easily extended with new converters, modifiers and value providers. When creating new types of these components, the system will automatically register them.

To disable auto-registration of a type, add [HideMember] attribute to its class definition.

chevron-rightBind Classhashtag

Bind<T> is a family of classes which allows to easily add binding capability to your script. This approach to binding requires coding and access to script's source code.

chevron-rightConvertershashtag

Converters are used to convert one type to another type, sometimes with additional parameters. For example, a value can be converted to a string using a given format.

chevron-rightModifiershashtag

Modifiers allow you to change the values before they are set or retrieved by requesters. The modifiers can be quite powerful since they are part of data retrieval pipeline. The only limit for modifiers is that they must not change a value type, the input and output should have the same type or have common inheritance.

chevron-rightAccessor Providershashtag

Accessor providers are reserved for more experienced developers but offer greater flexibility when extending the system. They provide a way to supply custom values and paths for bindings.

Last updated