Show / Hide Table of Contents

Class FunctionWrapperCommandDispatchContextEnricher

Utility class that wraps a function as a command dispatch context enricher

Inheritance
System.Object
FunctionWrapperCommandDispatchContextEnricher
Implements
ICommandDispatchContextEnricher
Namespace: AzureFromTheTrenches.Commanding
Assembly: AzureFromTheTrenches.Commanding.dll
Syntax
public class FunctionWrapperCommandDispatchContextEnricher : object, ICommandDispatchContextEnricher

Constructors

| Improve this Doc View Source

FunctionWrapperCommandDispatchContextEnricher(Func<IReadOnlyDictionary<String, Object>, IReadOnlyDictionary<String, Object>>)

Constructor

Declaration
public FunctionWrapperCommandDispatchContextEnricher(Func<IReadOnlyDictionary<string, object>, IReadOnlyDictionary<string, object>> func)
Parameters
Type Name Description
Func<IReadOnlyDictionary<System.String, System.Object>, IReadOnlyDictionary<System.String, System.Object>> func

The function to wrap

Methods

| Improve this Doc View Source

GetAdditionalProperties(IReadOnlyDictionary<String, Object>)

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

Implements

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