Language
Edit

DataConsumerGOBase.Attach Method

Definition

Prepare this data consumer for use and attach to the provided external resources.

public void Attach(System.Collections.Generic.Dictionary<string,MixedReality.Toolkit.Data.IDataSource> dataSources, MixedReality.Toolkit.Data.IDataController dataController, string resolvedKeyPathPrefix = default);
abstract member Attach : System.Collections.Generic.Dictionary<string, MixedReality.Toolkit.Data.IDataSource> * MixedReality.Toolkit.Data.IDataController * string -> unit
override this.Attach : System.Collections.Generic.Dictionary<string, MixedReality.Toolkit.Data.IDataSource> * MixedReality.Toolkit.Data.IDataController * string -> unit
Public Sub Attach (dataSources As Dictionary(Of String, IDataSource), dataController As IDataController, Optional resolvedKeyPathPrefix As String = Nothing)

Parameters

dataSources
Dictionary<String,IDataSource>

Which data sources to attach to for attaching a run-time loaded object, keyed to string DataType.

dataController
IDataController
resolvedKeyPathPrefix
String

The path prefix for this object to be appended to front of all local key paths.

Implements

Applies to