InitializerInitialize(String, String, Boolean) Method
Sets the x-api-key used thorughout Babelfish, and initializes the JSON serializers and deserializers.
To obtain an x-api-key visit Scopos' support pages to learn how.
Namespace: Scopos.BabelFish.RuntimeAssembly: BabelFish (in BabelFish.dll) Version: 1.11.3.13+877481945de6b4d2a3a561fea58e2494717cd263
public static void Initialize(
string xApiKey,
string localStoreDirectory,
bool runPreLoad = true
)
Parameters
- xApiKey String
- localStoreDirectory String
- Full path to where cached REST API responses, includeing definition files, are stored.
- runPreLoad Boolean (Optional)
- If true, pre-loads the definition cache with standard set of Definitions. Intended to be set to false during unit testing to avoid excessive API calls.