-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Miguel Bernard edited this page Jun 21, 2021
·
1 revision
CloudEventConfiguration
provides default implementations and configurations for value providers that are used by default by other parts of the library. e.g. CloudEventBuilder
There are three value providers available
- Id
- Source
- Type
Each provider is responsible for providing a value for the specified property.
CloudEventConfiguration.IdProvider.GetId();
CloudEventConfiguration.IdProvider = new MyIdProvider();
TypeResolver
is responsible to dynamically resolve a CLR type from the type
property of the cloud event. A type resolve must implement the ITypeResolver interface.