예제 #1
0
 /// <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);
     }
 }
예제 #2
0
        /// <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);
        }
예제 #3
0
 /// <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();
 }
예제 #4
0
 /// <summary>
 /// Adds the child.
 /// </summary>
 /// <param name="child">The child.</param>
 public static void AddChild(firebaseRef child)
 {
     history.Add(child);
 }