예제 #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();
        }
예제 #2
0
 public WordHighlighTransformer(HighlightDelegate func, Brush highlightColour)
 {
     _highlightFunc   = func;
     _highlightColour = highlightColour;
 }
 public WordHighlighTransformer(HighlightDelegate func, Brush highlightColour)
 {
     _highlightFunc = func;
     _highlightColour = highlightColour;
 }
예제 #4
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();
        }