Documentation

Unity Engine

Unity Engine

IDataSourceProvider

Binding types deriving from Binding can implement this interface to gain an additional layer of data source and data source path. These will be used by the binding system to compute the final BindingContext.dataSource and BindingContext.dataSourcePath that will be passed to the BindingContext
Read time 1 minuteLast updated 11 hours ago

Definition

public interface IDataSourceProvider

Remarks

This IDataSourceProvider.dataSource and IDataSourceProvider.dataSourcePath will only affect the binding itself and not the hierarchy.

Properties

Property

Description

dataSourceData source object that is local to the binding object.
dataSourcePathData source path that is local to the binding object.