IInterceptor.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
Function GetInterceptableMethods ( _
    interceptedType As Type, _
    implementationType As Type _
) As IEnumerable(Of MethodImplementationInfo)
IEnumerable<MethodImplementationInfo> GetInterceptableMethods(
    Type interceptedType,
    Type implementationType
)
IEnumerable<MethodImplementationInfo^>^ GetInterceptableMethods(
    Type^ interceptedType, 
    Type^ implementationType
)
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.

See Also

IInterceptor Interface

Microsoft.Practices.Unity.InterceptionExtension Namespace