CK.AppRecovery.ApplicationCrashedEventArgs.InitOnce C# (CSharp) Method

InitOnce() static private method

static private InitOnce ( ) : ApplicationCrashedEventArgs
return ApplicationCrashedEventArgs
        internal static ApplicationCrashedEventArgs InitOnce()
        {
            lock( _lock )
            {
                if( _oneCrashOnly != null ) return null;
                return _oneCrashOnly = new ApplicationCrashedEventArgs( CrashLogManager.CreateNewCrashLog() );
            }
        }