ShouldInterceptMethod Method

Glimpse API

AlternateTypeGenerationHook T  ShouldInterceptMethod Method Glimpse API Documentation
Invoked by the generation process to determine if the specified method should be proxied.

Namespace: Glimpse.Core.Extensibility
Assembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)

Syntax

public bool ShouldInterceptMethod(
	Type type,
	MethodInfo methodInfo
)
public bool ShouldInterceptMethod(
	Type type,
	MethodInfo methodInfo
)

Parameters

type
Type: OnlineSystem Type
The type which declares the given method.
methodInfo
Type: OnlineSystem.Reflection MethodInfo
The method to inspect.

Return Value

True if the given method should be proxied; false otherwise.

Implements

IProxyGenerationHookShouldInterceptMethod(Type, MethodInfo)
See Also