C# Class Open.Core.Helpers.DelegateHelper

Utility methods for working with delegates.
Mostra file Open project: philcockfield/Open.TestHarness.SL

Public Methods

Method Description
ToCallbackString ( Delegate callback ) : string

Formats a callback function to a JavaScript function name.

ToEventCallbackString ( EventCallback callback, string eventIdentifier ) : string

Formats a callback function with the specified event identifier.

Method Details

ToCallbackString() public method

Formats a callback function to a JavaScript function name.
public ToCallbackString ( Delegate callback ) : string
callback System.Delegate The callback delegate.
return string

ToEventCallbackString() public method

Formats a callback function with the specified event identifier.
public ToEventCallbackString ( EventCallback callback, string eventIdentifier ) : string
callback EventCallback The callback delegate.
eventIdentifier string The event identifier.
return string