DataSourceGOBase.GetDataSource(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
IDataSourceProvider method to get this data source.
public virtual MixedReality.Toolkit.Data.IDataSource GetDataSource(string dataSourceType = default);
abstract member GetDataSource : string -> MixedReality.Toolkit.Data.IDataSource
override this.GetDataSource : string -> MixedReality.Toolkit.Data.IDataSource
Public Overridable Function GetDataSource (Optional dataSourceType As String = Nothing) As IDataSource
Parameters
- dataSourceType
- String
Returns
Implements
Remarks
Attach whatever data source is desired here in your derived class if not already allocated. Further initialization can occur when InitializeDataSource() is called.
NOTE: This does not return _dataSource because then any logic in the subclass of this class will never execute for any methods that overrides an IDataSource interface method.