Show / Hide Table of Contents

Interface ICommandDispatchContextEnricher

Allows the command dispatch context to be enriched

Namespace: AzureFromTheTrenches.Commanding.Abstractions
Assembly: AzureFromTheTrenches.Commanding.Abstractions.dll
Syntax
public interface ICommandDispatchContextEnricher

Methods

| Improve this Doc View Source

GetAdditionalProperties(IReadOnlyDictionary<String, Object>)

Get additional properties to attach to a command dispatch context. Although it's tempting to think this should be supplied a command the context wraps potentially multiple command dispatches.

Declaration
IReadOnlyDictionary<string, object> GetAdditionalProperties(IReadOnlyDictionary<string, object> existingEnrichmentProperties)
Parameters
Type Name Description
IReadOnlyDictionary<System.String, System.Object> existingEnrichmentProperties

The existing properties on the context applied by previous enrichers

Returns
Type Description
IReadOnlyDictionary<System.String, System.Object>

The set of properties this enricher wants to attach

  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall