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
Показать файл Открыть проект

Открытые методы

Метод Описание
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