C# Class ZeroInstall.OneGet.OneGetContextInterceptor

Forwards requests to an IOneGetContext implementation from a deployed or cached Zero Install instance.
Inheritance: IInterceptor
显示文件 Open project: 0install/0install-win

Public Methods

Method Description
Intercept ( LinFu.DynamicProxy.InvocationInfo info ) : object
OneGetContextInterceptor ( [ request ) : System

Creates a new IOneGetContext interceptor.

Private Methods

Method Description
DuckType ( object target, LinFu.DynamicProxy.InvocationInfo info ) : object

Forwards a method invocation info to a target using duck-typing.

GetProviderDirectory ( ) : string
InitExternalContext ( ) : object

Method Details

Intercept() public method

public Intercept ( LinFu.DynamicProxy.InvocationInfo info ) : object
info LinFu.DynamicProxy.InvocationInfo
return object

OneGetContextInterceptor() public method

Creates a new IOneGetContext interceptor.
public OneGetContextInterceptor ( [ request ) : System
request [ The OneGet request interface to pass to the constructor of the target implementation.
return System