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.DynamicTileBrushX> ToXProxy(DynamicTileBrushCollection brushCollection) { return(TileBrushCollection <DynamicTileBrush> .ToXProxy <LibraryX.DynamicTileBrushX>(brushCollection, DynamicTileBrush.ToXProxy)); }