/// <summary>Handles the compiler error event.</summary>
        /// <param name="sender">The sender.</param>
        /// <param name="args">The args.</param>
        protected virtual void OnCompilerError(object sender, CompilerErrorEventArgs args)
        {
            EventHandler<CompilerErrorEventArgs> errorHandler = this.CompilerErrorHandler;
            if (errorHandler != null)
            {
                errorHandler(sender, args);
            }

            EventHandler<CompilerNotifyEventArgs> notifyHandler = this.CompilerNotifyHandler;
            if (notifyHandler != null)
            {
                CompilerNotifyEventArgs notifyEventArgs = new CompilerNotifyEventArgs(args.Message);

                notifyHandler(sender, notifyEventArgs);
            }
        }
        /// <summary>Handles the compiler error event.</summary>
        /// <param name="sender">The sender.</param>
        /// <param name="args">The event args.</param>
        protected virtual void OnCompilerNotify(object sender, CompilerNotifyEventArgs args)
        {
            EventHandler<CompilerNotifyEventArgs> handler = this.CompilerNotifyHandler;

            if (handler != null)
            {
                handler(sender, args);
            }
        }