Exemplo n.º 1
0
        /// <summary>
        /// Actuator can invoke this function to indicate any error.  The error
        /// dialog is displayed
        /// </summary>
        /// <param name="source">source acutator that had the error</param>
        /// <param name="message">error message</param>
        /// <param name="enableConfigure">should "configure" button be enabled?</param>
        public void OnError(IActuator source, String message, bool enableConfigure = true)
        {
            var aex = _actuators.find(source);

            if (aex != null)
            {
                aex.OnError(message, enableConfigure);
            }
        }