C# Class Open.Core.Helpers.DelegateHelper

Utility methods for working with delegates.
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL

Méthodes publiques

Méthode 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 méthode

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

ToEventCallbackString() public méthode

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.
Résultat string