ReturnTypeMatchingRule.Matches 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. |
Check to see if the given member has a matching return type.
Namespace: Microsoft.Practices.Unity.InterceptionExtension
Assembly: Microsoft.Practices.Unity.Interception (in Microsoft.Practices.Unity.Interception.dll)
Syntax
'Declaration
Public Function Matches ( _
member As MethodBase _
) As Boolean
public bool Matches(
MethodBase member
)
public:
virtual bool Matches(
MethodBase^ member
) sealed
public final function Matches(
member : MethodBase
) : boolean
Parameters
- member
Type: System.Reflection.MethodBase
Member to check.
Return Value
true if return types match, false if they don't.
Implements
IMatchingRule.Matches(MethodBase)