Example #1
0
        /// <summary>
        /// Initializes a new instance of the DynamicEval class.
        /// </summary>
        /// <param name="highlightDelegate">An implementation of the 'Highlight' function.</param>
        /// <param name="highlightBoxDelegate">An implementation of the 'HighlightBox' function.</param>
        /// <param name="waitDelegate">An implementation of the 'Wait' function.</param>
        public DynamicEval(HighlightDelegate highlightDelegate, HighlightBoxDelegate highlightBoxDelegate, WaitDelegate waitDelegate)
        {
            this.highlightDelegate    = highlightDelegate;
            this.highlightBoxDelegate = highlightBoxDelegate;
            this.waitDelegate         = waitDelegate;

            this.Initialize();
        }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the DynamicEval class.
        /// </summary>
        /// <param name="highlightDelegate">An implementation of the 'Highlight' function.</param>
        /// <param name="highlightBoxDelegate">An implementation of the 'HighlightBox' function.</param>
        /// <param name="waitDelegate">An implementation of the 'Wait' function.</param>
        public DynamicEval(HighlightDelegate highlightDelegate, HighlightBoxDelegate highlightBoxDelegate, WaitDelegate waitDelegate)
        {
            this.highlightDelegate = highlightDelegate;
            this.highlightBoxDelegate = highlightBoxDelegate;
            this.waitDelegate = waitDelegate;

            this.Initialize();
        }