OpenRA.Mods.Common.Traits.EditorActorLayer.NeighbouringPreviews C# (CSharp) Метод

NeighbouringPreviews() приватный Метод

private NeighbouringPreviews ( SubCell>.IReadOnlyDictionary footprint ) : string[]>.Dictionary
footprint SubCell>.IReadOnlyDictionary
Результат string[]>.Dictionary
        Dictionary<CPos, string[]> NeighbouringPreviews(IReadOnlyDictionary<CPos, SubCell> footprint)
        {
            var cells = Util.ExpandFootprint(footprint.Keys, true).Except(footprint.Keys);
            return cells.ToDictionary(c => c, c => PreviewsAt(c).Select(p => p.Info.Name).ToArray());
        }