IsWrapInterfaceEligible(TToWrap) Method

Glimpse API

CastleDynamicProxyFactory IsWrapInterfaceEligible TToWrap  Method Glimpse API Documentation
Determines whether the specified type is eligible to be interface wrapped.

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

Syntax

public bool IsWrapInterfaceEligible<TToWrap>(
	Type type
)
public bool IsWrapInterfaceEligible<TToWrap>(
	Type type
)

Parameters

type
Type: OnlineSystem Type
The type.
Type Parameters

TToWrap
The type to wrap.

Return Value

true if type is eligible for interface wrapping; otherwise, false.

Implements

IProxyFactory IsWrapInterfaceEligible TToWrap (Type)
Remarks

Wrapping takes a target instance, generates a new type that extends the input types and injects the target object within the new instance.
See Also