Language
Edit

DataSourceGODictionary Class

Definition

[UnityEngine.AddComponentMenu("MRTK/Data Binding/Sources/Data Source Dictionary")]
public class DataSourceGODictionary : MixedReality.Toolkit.Data.DataSourceGOBase
[<UnityEngine.AddComponentMenu("MRTK/Data Binding/Sources/Data Source Dictionary")>]
type DataSourceGODictionary = class
    inherit DataSourceGOBase
Public Class DataSourceGODictionary
Inherits DataSourceGOBase
Inheritance
UnityEngine.MonoBehaviour
DataSourceGODictionary
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

Name Description
DataSourceGODictionary()

Fields

Name Description
dataSourceType (Inherited from DataSourceGOBase)
keyPathMapper (Inherited from DataSourceGOBase)
keyPathValues

Properties

Name Description
DataController

An optional data controller.

(Inherited from DataSourceGOBase)
DataSource (Inherited from DataSourceGOBase)
DataSourceType

Get the data source type

(Inherited from DataSourceGOBase)

Methods

Name Description
AddDataConsumerListener(String, IDataConsumer)

Add a new data consumer listener for the specified key path

(Inherited from DataSourceGOBase)
AllocateDataSource()

Allocate the correct data source

DataChangeSetBegin()

Begin a data change set.

(Inherited from DataSourceGOBase)
DataChangeSetEnd()

End a data change set.

(Inherited from DataSourceGOBase)
GetCollectionCount(String)

If a key path represents a collection, return the number of items in that collection.

(Inherited from DataSourceGOBase)
GetCollectionKeyPathRange(String, Int32, Int32)

Get an enumerable collection of key path strings for the specified collection index range.

(Inherited from DataSourceGOBase)
GetDataSource(String)

IDataSourceProvider method to get this data source.

(Inherited from DataSourceGOBase)
GetDataSourceTypes()

Get an array of data source types that can be provided by this provider

(Inherited from DataSourceGOBase)
GetNthCollectionKeyPathAt(String, Int32)

If a key path represents a collection, return a collection key path for the entry at index n.

(Inherited from DataSourceGOBase)
GetValue(String)

Get the value associated with the specified key path and prefix

(Inherited from DataSourceGOBase)
InitializeDataSource() UnityEngine.MonoBehaviour.InitializeDataSource
IsCollectionAtKeyPath(String)

Determine if key path represents a data collection

(Inherited from DataSourceGOBase)
IsDataAvailable()

Is data available in the data source.

(Inherited from DataSourceGOBase)
NotifyAllChanged(DataChangeType, IDataConsumer)

Notify all listeners that data has changed.

(Inherited from DataSourceGOBase)
NotifyDataChanged(String, Object, DataChangeType, Boolean)

Inform data source that its data has changed.

(Inherited from DataSourceGOBase)
RemoveDataConsumerListener(String, IDataConsumer)

Remove a data consumer listener for the specified key path

(Inherited from DataSourceGOBase)
ResolveKeyPath(String, String)

Resolve a key path using a given prefix and local path.

(Inherited from DataSourceGOBase)
SetDataKeyPathMapper(IDataKeyPathMapper)

Set a key path mapper.

(Inherited from DataSourceGOBase)
SetValue(String, Object, Boolean)

Set the value associated with the specified key path

Applies to