C# Class NRack.Helpers.Proc

The Proc class wraps a delegate and adds a Call method to dynamically invoke the delegate with arguments. This is a workaround for the limitation of unsupported extension methods during runtime binding.
显示文件 Open project: kevinswiber/NRack

Public Methods

Method Description
Call ( ) : dynamic

Dynamically invoke the delegate with parameters.

Proc ( Delegate wrappedFunction ) : System

Method Details

Call() public method

Dynamically invoke the delegate with parameters.
public Call ( ) : dynamic
return dynamic

Proc() public method

public Proc ( Delegate wrappedFunction ) : System
wrappedFunction System.Delegate
return System