MCPcopy Create free account
hub / github.com/microsoft/SandDance / enumerateObjectInstances

Method enumerateObjectInstances

packages/powerbi/src/visual.ts:322–325  ·  view source on GitHub ↗

* This function gets called for each of the objects defined in the capabilities files and allows you to select which of the * objects and properties you want to expose to the users in the property pane. *

(options: EnumerateVisualObjectInstancesOptions)

Source from the content-addressed store, hash-verified

320 *
321 */
322 public enumerateObjectInstances(options: EnumerateVisualObjectInstancesOptions): VisualObjectInstance[] | VisualObjectInstanceEnumerationObject {
323 if (options.objectName === 'sandDanceConfig') return [];
324 return VisualSettings.enumerateObjectInstances(this.settings || VisualSettings.getDefault(), options);
325 }
326}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected