Example #1
0
                public static CleanupFileWatcher GetInstance()
                {
                    try
                    {
                        return(_cleanupFileWatcher ?? (_cleanupFileWatcher = new CleanupFileWatcher()));
                    }
                    catch (Exception exception)
                    {
                        Log.Error(exception);

                        return(null);
                    }
                }
                public static CleanupFileWatcher GetInstance()
                {
                    try
                      {
                    return _cleanupFileWatcher ?? (_cleanupFileWatcher = new CleanupFileWatcher());
                      }
                      catch (Exception exception)
                      {
                    Log.Error(exception);

                    return null;
                      }
                }