CallbackDefinitionCreateT(T, String) Method

Creates a new instance of the CallbackDefinition class.

Definition

Namespace: Gemstone.Web.Razor.Callbacks
Assembly: Gemstone.Web.Razor (in Gemstone.Web.Razor.dll) Version: 1.0.188 -- Release Build+372c5f6a09960ffce20cde9e684250f2ff4dddac
public static CallbackDefinition Create<T>(
	T instance,
	string methodName
)
where T : class

Parameters

instance  T
The instance containing the method to be captured in a callback.
methodName  String
The name of the method to be captured in the callback.

Type Parameters

T
The type containing the instance method to be captured in a callback.

Return Value

CallbackDefinition
The definition for the callback to be used with JavaScript.

See Also