Esempio n. 1
0
 // -------------------------------------------------------------------------------
 // BuildCache
 // -------------------------------------------------------------------------------
 public static void BuildCache(bool forced = false)
 {
     if (_data == null || forced)
     {
         _data = new ServerInfoTemplateDictionary(ServerInfoTemplate._folderName);
     }
 }
Esempio n. 2
0
        // -------------------------------------------------------------------------------
        // OnEnable
        // -------------------------------------------------------------------------------
        public void OnEnable()
        {
            if (_folderName != folderName)
            {
                _folderName = folderName;
            }

            _data = null;
        }