/// <summary> /// Executes the specified sender. /// </summary> /// <param name="sender">The sender.</param> /// <param name="Event">The event.</param> /// <param name="value">The value.</param> /// <returns>System.String.</returns> public static string exec(firebaseRef sender, string Event, string value) { try { return(browser.Document.InvokeScript(sender.name + "_" + Event, new string[] { value }).ToString()); } catch (Exception) { return(null); } }
/// <summary> /// Childs the specified listen. /// </summary> /// <param name="object_">The object.</param> /// <returns>childRef.</returns> public firebaseRef child(string object_) { firebaseRef newRef = new firebaseRef(this, object_); return(newRef); }
/// <summary> /// Initializes a new instance of the <see cref="firebaseRef" /> class. /// </summary> /// <param name="parent_ref">The parent reference.</param> /// <param name="path">The path.</param> public firebaseRef(firebaseRef parent_ref, string path) { this.childObject = path; this.parents.Add(parent_ref); compile(); }
/// <summary> /// Adds the child. /// </summary> /// <param name="child">The child.</param> public static void AddChild(firebaseRef child) { history.Add(child); }