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.167 -- Release Build+892a03c3dbb675b99c038de5cdd8c3d77a46615f
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