Example #1
0
        /// <summary>
        /// Starts a new thread and injects the html into the document after numberOfSecondsToWaitBeforeInjection.
        /// </summary>
        /// <param name="document"></param>
        /// <param name="html"></param>
        /// <param name="numberOfSecondsToWaitBeforeInjection"></param>
        public static void Start(Document document, string html, int numberOfSecondsToWaitBeforeInjection)
        {
            var htmlInjector = new HtmlInjector(document, html, numberOfSecondsToWaitBeforeInjection);

            htmlInjector.Inject();
        }
Example #2
0
 /// <summary>
 /// Starts a new thread and injects the html into the document after numberOfSecondsToWaitBeforeInjection.
 /// </summary>
 /// <param name="document"></param>
 /// <param name="html"></param>
 /// <param name="numberOfSecondsToWaitBeforeInjection"></param>
 public static void Start(Document document, string html, int numberOfSecondsToWaitBeforeInjection)
 {
     var htmlInjector = new HtmlInjector(document, html, numberOfSecondsToWaitBeforeInjection);
     htmlInjector.Inject();
 }