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.170 -- Release Build+b32d16e0cd614373e36528ea9dff7924975c7f87
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