Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        public static void SetApplicationClosing()
        {
            if (_applicationClosing == false)
            {
                _applicationClosing = true;

                CommonHelper.DefaultDelegate delegateInstance = ApplicationClosingEvent;
                if (delegateInstance != null)
                {
                    delegateInstance();
                }
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Override of the full version of FireAndForgetDotNetPool().
 /// </summary>
 public static void FireAndForgetDotNetPool(CommonHelper.DefaultDelegate d)
 {
     FireAndForgetDotNetPool(d, null);
 }
Exemplo n.º 3
0
 static public MethodInfo GetMethodInfo(CommonHelper.DefaultDelegate delegateInstance)
 {
     return(delegateInstance.Method);
 }