For Babelfish Release 1.11.1.3

InitializerInitialize(String, Boolean) Method

Sets the x-api-key used thorughout Babelfish, and initializes the JSON serializers and deserializers.

Definition

Namespace: Scopos.BabelFish.Runtime
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
public static void Initialize(
	string xApiKey,
	bool runPreLoad = true
)

Parameters

xApiKey  String
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.

Remarks

The Serializers and Deserializers found in Scopos.BabelFish.Helpers.SerializerOptions class.

Exceptions

See Also