Пример #1
0
 /// <summary>
 /// Detach event-handler <code>fnFunction</code> from the 'patternMatched' event of this <code>sap.ui.core.routing.Route</code>.<br/>
 ///
 /// The passed function and listener object must match the ones previously used for event registration.
 /// </summary>
 /// <param name="fnFunction">The function to call, when the event occurs.</param>
 /// <param name="oListener">Object on which the given function had to be called.</param>
 /// <returns><code>this</code> to allow method chaining</returns>
 public extern virtual sap.ui.core.routing.Route detachPatternMatched(sap.ui.core.routing.Route.PatternMatchedDelegate fnFunction, object oListener);
Пример #2
0
 /// <summary>
 /// Attach event-handler <code>fnFunction</code> to the 'patternMatched' event of this <code>sap.ui.core.routing.Route</code>.<br/>
 /// </summary>
 /// <param name="fnFunction">The function to call, when the event occurs. This function will be called on the oListener-instance (if present) or in a 'static way'.</param>
 /// <returns><code>this</code> to allow method chaining</returns>
 public extern virtual sap.ui.core.routing.Route attachPatternMatched(sap.ui.core.routing.Route.PatternMatchedDelegate fnFunction);