Exemple #1
0
        /// <summary>
        /// Assigns the config delegate.
        /// </summary>
        /// <param name="cDelegate">The config delegate.</param>
        /// <returns></returns>
        public static bool AssignConfigDelegate(ConfigureDelegate cDelegate)
        {
            if (cDelegate == null)
                return false;

            s_configCallback = cDelegate.Invoke;
            return true;
        }
Exemple #2
0
        /// <summary>
        /// Assigns the config delegate.
        /// </summary>
        /// <param name="cDelegate">The config delegate.</param>
        /// <returns></returns>
        public static bool AssignConfigDelegate(ConfigureDelegate cDelegate)
        {
            if (cDelegate == null)
            {
                return(false);
            }

            s_configCallback = cDelegate.Invoke;
            return(true);
        }