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.
Mostrar archivo 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