예제 #1
0
 public void UpdateAll(IEnumerable <Entity> vals)
 {
     NameToEntity.UpdateAll(vals.ToImmutableDictionary(e => e.Name));
     PosToName.UpdateAll(vals.ToImmutableDictionary(e => e.Pos, e => e.Name));
 }