public LoadBoardItemsHolderService <UnitHolder, Unit> Provide() =>
 _cache ?? (_cache = new LoadBoardItemsHolderService <UnitHolder, Unit>(
                tilesPositionServiceProvider.Provide(),
                unitsRepositoryProvider.Provide(),
                unitHolderFactory,
                coordinateServiceProvider.Provide()
                ));
 public LoadBoardItemsHolderService <TileHolder, Tile> Provide() =>
 _cache ?? (_cache = new LoadBoardItemsHolderService <TileHolder, Tile>(
                tilesPositionServiceProvider.Provide(),
                tilesRepositoryProvider.Provide(),
                tileHolderFactory,
                coordinateServiceProvider.Provide()
                ));
Ejemplo n.º 3
0
 public LoadBoardItemsHolderService <StrongholdHolder, Stronghold> Provide() =>
 _cache ?? (_cache = new LoadBoardItemsHolderService <StrongholdHolder, Stronghold>(
                tilesPositionServiceProvider.Provide(),
                strongholdsRepositoryProvider.Provide(),
                strongholdHolderFactory,
                coordinateServiceProvider.Provide()
                ));