PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Implementation Namespace / Cache­Key­Builder Class / Cache­Key­Builder Methods

CacheKeyBuilder Methods

The CacheKeyBuilder type exposes the following members.

Protected methodAppendArgument
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.
Protected methodAppendMethod
Appends the method name and generic arguments to an UnsafeStringBuilder.
Protected methodAppendObject
Appends a string representing an Object to an UnsafeStringBuilder.
Protected methodAppendType
Appends a Type name to an UnsafeStringBuilder.
Public methodBuildDependencyKey
Builds a dependency key for a given object.
Public methodBuildMethodKey
Builds a cache key for a given method call.
Public methodDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Disposes the current object.
Protected methodGetCachedMethodInfo
Gets the CachedMethodInfo for a given MethodInfo.
See Also