Table of Contents

Class CamelCaseDictionaryExtensions

Namespace
MassTransit.Serialization
Assembly
MassTransit.Abstractions.dll
public static class CamelCaseDictionaryExtensions
Inheritance
CamelCaseDictionaryExtensions
Inherited Members

Methods

TryGetValueCamelCase(IDictionary<string, object>?, string, out object?)

Converts a PascalCase key to camelCase and attempts to get the value from the dictionary

public static bool TryGetValueCamelCase(this IDictionary<string, object>? dictionary, string key, out object? value)

Parameters

dictionary IDictionary<string, object>
key string
value object

Returns

bool

TryGetValueCamelCase(IReadOnlyDictionary<string, object>?, string, out object?)

Converts a PascalCase key to camelCase and attempts to get the value from the dictionary

public static bool TryGetValueCamelCase(this IReadOnlyDictionary<string, object>? dictionary, string key, out object? value)

Parameters

dictionary IReadOnlyDictionary<string, object>
key string
value object

Returns

bool