MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​FormattersCache­Key­BuilderAppend­Argument
Open sandboxFocus

CacheKeyBuilder.AppendArgument Method

AppendArgument(UnsafeStringBuilder, Type, Object)

Appends a method argument to an UnsafeStringBuilder. To avoid ambiguities between different overloads of the same method, the default implementation appends both the parameter type and the value key.

Declaration
protected virtual void AppendArgument(UnsafeStringBuilder stringBuilder, Type parameterType, object parameterValue)
Parameters
Type Name Description
UnsafeStringBuilder stringBuilder

An UnsafeStringBuilder.

System.Type parameterType

The type of the parameter.

System.Object parameterValue

The value assigned to the parameter (can be null).