RefreshCurrent() статический приватный Метод

static private RefreshCurrent ( ) : void
Результат void
 internal void RefreshConfigPaths()
 {
     if (((this._configPaths != null) && !this._configPaths.HasEntryAssembly) && (this._exePath == null))
     {
         ClientConfigPaths.RefreshCurrent();
         this._configPaths = null;
     }
 }
Пример #2
0
 public override void RefreshConfigPaths()
 {
     // Refresh current config paths.
     if ((_configPaths != null) && !_configPaths.HasEntryAssembly && (_exePath == null))
     {
         ClientConfigPaths.RefreshCurrent();
         _configPaths = null;
     }
 }
Пример #3
0
 internal void RefreshConfigPaths()
 {
     // Refresh current config paths.
     if (_configPaths != null && !_configPaths.HasEntryAssembly && _exePath == null)
     {
         ClientConfigPaths.RefreshCurrent();
         _configPaths = null;
     }
 }
 public override void RequireCompleteInit(IInternalConfigRecord record)
 {
     lock (this)
     {
         if (!this._initComplete)
         {
             this._initComplete = true;
             ClientConfigPaths.RefreshCurrent();
             this._configPaths = null;
             ClientConfigPaths configPaths = this.ConfigPaths;
         }
     }
 }
Пример #5
0
        public override void RequireCompleteInit(IInternalConfigRecord record)
        {
            // Loading information about user.config files is expensive,
            // so do it just once by locking.
            lock (this) {
                if (!_initComplete)
                {
                    // Note that all future requests for config must be complete.
                    _initComplete = true;

                    // Throw out the ConfigPath for this exe.
                    ClientConfigPaths.RefreshCurrent();

                    // Throw out our cached copy.
                    _configPaths = null;

                    // Force loading of user.config file information under lock.
                    ClientConfigPaths configPaths = ConfigPaths;
                }
            }
        }