Table of Contents

Method Enrich

Namespace
Ratatoskr.Core
Assembly
Ratatoskr.dll

Enrich<TMessage>(MessageProperties?)

Enriches the properties for a message of type TMessage. If properties is null, creates a new instance. Only populates missing values, never overwrites existing ones.

MessageProperties Enrich<TMessage>(MessageProperties? properties) where TMessage : notnull

Parameters

properties MessageProperties

Returns

MessageProperties

Type Parameters

TMessage

Enrich(Type, MessageProperties?)

Enriches the properties for a message of the given type. If properties is null, creates a new instance. Only populates missing values, never overwrites existing ones.

MessageProperties Enrich(Type messageType, MessageProperties? properties)

Parameters

messageType Type
properties MessageProperties

Returns

MessageProperties