C# 클래스 Simple.DynamicProxy.InterfaceDynamicProxyImpl

The implementation for a dynamic proxy. Should not be instantiated directly, but rather through the DynamicProxyFactory
상속: System.Runtime.Remoting.Proxies.RealProxy, IDynamicProxy, IRemotingTypeInfo
파일 보기 프로젝트 열기: juanplopes/simple

공개 메소드들

메소드 설명
CanCastTo ( System toType, object obj ) : bool

Checks whether the proxy representing the specified object type can be cast to the type represented by the IRemotingTypeInfo interface

CreateObjRef ( System type ) : ObjRef

CreateObjRef() isn't supported.

보호된 메소드들

메소드 설명
InterfaceDynamicProxyImpl ( object proxyTarget, InvocationDelegate invocationHandler, bool strict, Type supportedTypes ) : System

Creates a new proxy instance, with proxyTarget as the proxied object

비공개 메소드들

메소드 설명
Invoke ( System message ) : System.Runtime.Remoting.Messaging.IMessage

메소드 상세

CanCastTo() 공개 메소드

Checks whether the proxy representing the specified object type can be cast to the type represented by the IRemotingTypeInfo interface
public CanCastTo ( System toType, object obj ) : bool
toType System The Type we wish to cast to
obj object The object we wish to cast
리턴 bool

CreateObjRef() 공개 메소드

CreateObjRef() isn't supported.
CreateObjRef() for DynamicProxy isn't supported
public CreateObjRef ( System type ) : ObjRef
type System
리턴 System.Runtime.Remoting.ObjRef

InterfaceDynamicProxyImpl() 보호된 메소드

Creates a new proxy instance, with proxyTarget as the proxied object
protected InterfaceDynamicProxyImpl ( object proxyTarget, InvocationDelegate invocationHandler, bool strict, Type supportedTypes ) : System
proxyTarget object The object to proxy
invocationHandler InvocationDelegate
strict bool Should type support (for casts) be strict or loose
supportedTypes System.Type A List of supported types. Only used if strict is true. May be null
리턴 System