VirtualMethodInterceptor.GetInterceptableMethods Method
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The latest Unity Application Block information can be found at the Unity Application Block site. |
Returns a sequence of methods on the given type that can be intercepted.
Namespace: Microsoft.Practices.Unity.InterceptionExtension
Assembly: Microsoft.Practices.Unity.Interception (in Microsoft.Practices.Unity.Interception.dll)
Syntax
'Declaration
Public Function GetInterceptableMethods ( _
interceptedType As Type, _
implementationType As Type _
) As IEnumerable(Of MethodImplementationInfo)
public IEnumerable<MethodImplementationInfo> GetInterceptableMethods(
Type interceptedType,
Type implementationType
)
public:
virtual IEnumerable<MethodImplementationInfo^>^ GetInterceptableMethods(
Type^ interceptedType,
Type^ implementationType
) sealed
public final function GetInterceptableMethods(
interceptedType : Type,
implementationType : Type
) : IEnumerable<MethodImplementationInfo>
Parameters
- interceptedType
Type: System.Type
Type that was specified when this interceptor was created (typically an interface).
- implementationType
Type: System.Type
The concrete type of the implementing object.
Return Value
Sequence of MethodInfo objects.
Implements
IInterceptor.GetInterceptableMethods(Type, Type)