NonProxyableMemberNotification Method

Glimpse API

AlternateTypeGenerationHook T  NonProxyableMemberNotification Method Glimpse API Documentation
Invoked by the generation process to notify that a member was not marked as virtual.

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

Syntax

public void NonProxyableMemberNotification(
	Type type,
	MemberInfo memberInfo
)
public void NonProxyableMemberNotification(
	Type type,
	MemberInfo memberInfo
)

Parameters

type
Type: OnlineSystem Type
The type which declares the non-virtual member.
memberInfo
Type: OnlineSystem.Reflection MemberInfo
The non-virtual member.

Implements

IProxyGenerationHookNonProxyableMemberNotification(Type, MemberInfo)
Remarks

This method gives an opportunity to inspect any member which is not proxyable of a type that has been requested to be proxied, and if appropriate - throw an exception to notify the caller.
See Also