DynamoVisualProgramming.ZeroTouchLibrary by Autodesk

<PackageReference Include="DynamoVisualProgramming.ZeroTouchLibrary" Version="0.9.0-beta" />

 IContextDataProvider

public interface IContextDataProvider
Represents a connector to external data source to provide context speicific data. This interface provide import/export feature for any context specific data. It also provides a mechanism to capture data interactively.
string Name { get; }

Gets the name of this data provider to identify it uniquely.

Dictionary<string, object> CaptureData()

Begins data capture interaction in the specific context and returns collection of captured data.

Dictionary<string, object> ExportData(IContextData[] data, string filePath)

Exports data to specified file. This context provider determines the format for data store and returns the connection string for the given file using which this data can be imported back again.

string GetExpression(Dictionary<string, object> parameters, string variable)

Returns DesignScript expression for given parameters assigned to input variable.

IContextData[] ImportData(Dictionary<string, object> connectionParameters)

Imports specific the context data using the given identifier string.