private TileBrushManager(LibraryX.TileBrushGroupX proxy, TilePoolManager tileManager, DynamicTileBrushClassRegistry registry)
        {
            _staticBrushCollection  = StaticTileBrushCollection.FromXProxy(proxy.StaticBrushes, tileManager);
            _dynamicBrushCollection = DynamicTileBrushCollection.FromXProxy(proxy.DynamicBrushes, tileManager, registry);

            Pools.Add(_staticBrushCollection);
            Pools.Add(_dynamicBrushCollection);
        }
 public static LibraryX.TileBrushCollectionX <LibraryX.StaticTileBrushX> ToXProxy(StaticTileBrushCollection brushCollection)
 {
     return(TileBrushCollection <StaticTileBrush> .ToXProxy <LibraryX.StaticTileBrushX>(brushCollection, StaticTileBrush.ToXProxy));
 }