ValueAdapterFactory.Get Method |
Gets an IValueAdapter given a value type.
Namespace: PostSharp.Patterns.Caching.ValueAdapters
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public IValueAdapter Get( Type valueType )
Parameters
- valueType
- Type: System.Type
The type of the cached value (typically the return type of the cached method).
Return Value
Type: IValueAdapterA value adapter for valueType, or null if no value adapter is available for valueType.