Here are the examples of the csharp api class System.Collections.Generic.List.Add((Cuboid box, ICollectableFinder finder)) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
View licensepublic override async Task OnActivateAsync() { await base.OnActivateAsync(); _neighborFinders = new List<(Cuboid box, ICollectableFinder finder)>(); foreach (var crossCoord in CrossCoords) { var newPos = new ChunkWorldPos(ChunkWorldPos.X + crossCoord.x, ChunkWorldPos.Z + crossCoord.z); var shape = new Cuboid(new Point3d(newPos.X * 16, newPos.Z * 16, 0), new Size(16, 16, 256)); _neighborFinders.Add((shape, GrainFactory.GetPartitionGrain<ICollectableFinder>(World, newPos))); } }