Exemplo n.º 1
0
        /// <summary>
        /// Checks status of module and shows some information for user if module can't excecute action.
        /// </summary>
        /// <returns>Returns true if module can do some action in OnRun method; otherwise false.</returns>
        public override bool OnCanRun()
        {
            bool result = true;

            if (ExtensionRef != null)
            {
                result &= ExtensionRef.OnCanRun();
            }

            // insert code here.

            return(result);
        }