ValueAdapterFactory.Register Method (Type, IValueAdapter) |
Namespace: PostSharp.Patterns.Caching.ValueAdapters
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 2023.0.3.0 (2023.0.3.0)
public void Register( Type valueType, IValueAdapter valueAdapter )
Parameters
- valueType
- Type: System.Type
The type of the cached value (typically the return type of the cached method). - valueAdapter
- Type: PostSharp.Patterns.Caching.ValueAdapters.IValueAdapter
The adapter.