ValueAdapterFactory.Register<T> Method (IValueAdapter<T>) |
Registers an IValueAdapter<T>.
Namespace: PostSharp.Patterns.Caching.ValueAdapters
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.10.14.0 (6.10.14.0)
C#
public void Register<T>( IValueAdapter<T> valueAdapter )
Parameters
- valueAdapter
- Type: PostSharp.Patterns.Caching.ValueAdapters.IValueAdapter<T>
The adapter.
Type Parameters
- T
- The type of the cached value (typically the return type of the cached method).