CastleDynamicProxyFactory WrapInterface T Method (T, IEnumerable IAlternateMethod ) | Glimpse API Documentation |
Wraps the interface.
Namespace: Glimpse.Core.FrameworkAssembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)
Syntax
public T WrapInterface<T>( T instance, IEnumerable<IAlternateMethod> methodImplementations ) where T : class
public T WrapInterface<T>( T instance, IEnumerable<IAlternateMethod> methodImplementations ) where T : class
Parameters
- instance
- Type: T
The instance.
- methodImplementations
- Type: System.Collections.Generic IEnumerable IAlternateMethod
The method implementations.
Type Parameters
- T
- Instance type
Return Value
Wrapped instance.Implements
IProxyFactory WrapInterface T (T, IEnumerable IAlternateMethod )Remarks
See Also