Interface ITableauApiSimulatorCollection
Interface that contains TableauApiSimulators registered to be used.
Namespace: Tableau.Migration.Api.Simulation
Assembly: Tableau.Migration.dll
Syntax
public interface ITableauApiSimulatorCollection
Methods
AddOrUpdate(TableauApiSimulator)
Registers an API simulator to use by its base URL.
Declaration
void AddOrUpdate(TableauApiSimulator simulator)
Parameters
Type | Name | Description |
---|---|---|
TableauApiSimulator | simulator | The simulator to register. |
ForServer(Uri)
Gets the API simulator for the given base URL.
Declaration
TableauApiSimulator? ForServer(Uri baseUrl)
Parameters
Type | Name | Description |
---|---|---|
Uri | baseUrl | The base URL to get the API simulator for. |
Returns
Type | Description |
---|---|
TableauApiSimulator | The API simulator, or null. |