Exemplo n.º 1
0
 public static void ApplyAll()
 {
     foreach (var record in ConfClassRecordStore.Records())
     {
         ConfInitBridge.Erect(record);
     }
 }
Exemplo n.º 2
0
            private void UpdateState(FileInfo conf)
            {
                currentConf = conf;
                var name = Path.GetFileNameWithoutExtension(conf.Name);

                try
                {
                    currentRecord = ConfClassRecordStore.ByName(name);
                }
                catch (KeyNotFoundException e)
                {
                    PatchFormatException.ThrowWhenRecordNotFound(e, conf);
                }

                current = items.GetOrAdd(currentRecord, new Dictionary <int, Item>());
            }