C# 클래스 Simple.DynamicProxy.DynamicProxyFactory

파일 보기 프로젝트 열기: juanplopes/simple

공개 메소드들

메소드 설명
CreateMarshallableProxy ( MarshalByRefObject target, InvocationDelegate invocationHandler ) : object
CreateMarshallableProxy ( Type type, MarshalByRefObject target, InvocationDelegate invocationHandler ) : object
CreateProxy ( object target, InvocationDelegate invocationHandler ) : object

Create a proxy for the target object

CreateProxy ( object target, InvocationDelegate invocationHandler, bool strict ) : object

Create a proxy for the target object

CreateProxy ( object target, InvocationDelegate invocationHandler, bool strict, Type supportedTypes ) : object

Create a proxy for the target object

비공개 메소드들

메소드 설명
DynamicProxyFactory ( ) : System

메소드 상세

CreateMarshallableProxy() 공개 메소드

public CreateMarshallableProxy ( MarshalByRefObject target, InvocationDelegate invocationHandler ) : object
target System.MarshalByRefObject
invocationHandler InvocationDelegate
리턴 object

CreateMarshallableProxy() 공개 메소드

public CreateMarshallableProxy ( Type type, MarshalByRefObject target, InvocationDelegate invocationHandler ) : object
type System.Type
target System.MarshalByRefObject
invocationHandler InvocationDelegate
리턴 object

CreateProxy() 공개 메소드

Create a proxy for the target object
public CreateProxy ( object target, InvocationDelegate invocationHandler ) : object
target object The object to create a proxy for
invocationHandler InvocationDelegate The invocation handler for the proxy
리턴 object

CreateProxy() 공개 메소드

Create a proxy for the target object
public CreateProxy ( object target, InvocationDelegate invocationHandler, bool strict ) : object
target object The object to create a proxy for
invocationHandler InvocationDelegate The invocation handler for the proxy
strict bool Indicates if the cast support should be strict. If strict is true all casts are checked before being performed
리턴 object

CreateProxy() 공개 메소드

Create a proxy for the target object
public CreateProxy ( object target, InvocationDelegate invocationHandler, bool strict, Type supportedTypes ) : object
target object The object to create a proxy for
invocationHandler InvocationDelegate The invocation handler for the proxy
strict bool Indicates if the cast support should be strict. If strict is true all casts are checked before being performed. The supportedType list will enabled support for more interfaces than the target object supports
supportedTypes System.Type List of types that are supported for casts. Is only checked if strict is true.
리턴 object