public static void releaseCapture(Observable o) { throw new Exception(); }
/// <summary>Removes <b>all</b> added captures from the Observable.</summary> /// <param name="o">The Observable to release</param> /// <returns></returns> public extern static void releaseCapture(Observable o);
/// <summary> /// Starts capture on the specified Observable. All events will be passed /// to the supplied function with the event name + standard signature of the event /// <b>before</b> the event is fired. If the supplied function returns false, /// the event will not fire. /// </summary> /// <param name="o">The Observable to capture</param> /// <param name="fn">The function to call</param> /// <returns></returns> public extern static void capture(Observable o, Delegate fn);
/// <summary> /// Starts capture on the specified Observable. All events will be passed /// to the supplied function with the event name + standard signature of the event /// <b>before</b> the event is fired. If the supplied function returns false, /// the event will not fire. /// </summary> /// <param name="o">The Observable to capture</param> /// <param name="fn">The function to call</param> /// <param name="scope">(optional) The scope (this object) for the fn</param> /// <returns></returns> public extern static void capture(Observable o, Delegate fn, object scope);
/// <summary> /// Starts capture on the specified Observable. All events will be passed /// to the supplied function with the event name + standard signature of the event /// <b>before</b> the event is fired. If the supplied function returns false, /// the event will not fire. /// </summary> /// <param name="o">The Observable to capture</param> /// <returns></returns> public extern static void capture(Observable o);