Ejemplo n.º 1
0
 public TileService(ITileRepository tileRepository,
                    AppActs.Repository.Interface.IApplicationRepository applicationRepository, IReportRepository reportRepository)
 {
     this.tileRepository        = tileRepository;
     this.applicationRepository = applicationRepository;
     this.reportRepository      = reportRepository;
 }
Ejemplo n.º 2
0
 public TileService(ITileRepository tileRepository, 
    AppActs.Repository.Interface.IApplicationRepository applicationRepository, IReportRepository reportRepository)
 {
     this.tileRepository = tileRepository;
     this.applicationRepository = applicationRepository;
     this.reportRepository = reportRepository;
 }
Ejemplo n.º 3
0
 public PanoramaService(IPanoramaRepository panoramaRepository, ITileRepository tileRepository,
                        IUserService userService, IMapper mapper)
     : base(mapper)
 {
     _panoramaRepository = panoramaRepository;
     _tileRepository     = tileRepository;
     _userService        = userService;
 }
Ejemplo n.º 4
0
 public DataManager(ITextFieldsRepository textFieldsRepository, IUnitRepository unitRepository, INpcRepository npcRepository, IUserRepository userRepository, ITileRepository tileRepository)
 {
     TextFields = textFieldsRepository;
     Npcs       = npcRepository;
     Users      = userRepository;
     Tiles      = tileRepository;
     Units      = unitRepository;
 }
Ejemplo n.º 5
0
 public MineFieldService(
     IMineFieldRepository mineFieldRepository,
     ITileRepository tileRepository,
     MineFieldValidator validator)
 {
     _mineFieldRepository = mineFieldRepository;
     _tileRepository      = tileRepository;
     _validator           = validator;
 }
Ejemplo n.º 6
0
 public TileServices(ITileRepository repository, ITeamRepository teamRepository,
                     IReportRepository reportRepository, IUserRepository userRepository, ITagRepository tagRepository,
                     ICategoryRepository categoryRepository, ITileQueryLogicRepository _tileQRepository
                     )
 {
     _tileRepository           = repository;
     _teamRepository           = teamRepository;
     _reportRepository         = reportRepository;
     _userRepository           = userRepository;
     _tagRepository            = tagRepository;
     _categoryRepository       = categoryRepository;
     _tileQueryLogicRepository = _tileQRepository;
 }
Ejemplo n.º 7
0
 public TeamAdminService(ITagRepository tagRepository,
                         ITeamRepository teamRepositry,
                         IStatusRepository statusRepository,
                         ITileRepository tileRepository,
                         IReportRepository reportRepo
                         )
 {
     _tileRepository   = tileRepository;
     _statusRepository = statusRepository;
     _teamRepositry    = teamRepositry;
     _tagRepository    = tagRepository;
     _tileRepository   = tileRepository;
     _reportRepository = reportRepo;
 }
Ejemplo n.º 8
0
        public EditReportService(IReportRepository repository_report, IUserRepository repository_user,
                                 ITeamRepository repository_team, ICategoryRepository category_repository, ITagRepository repository_tag, ITileRepository repository_tile, ITileQueryLogicRepository _tileQ = null)
        {
            sortFields = new Dictionary <SortField, ISortableField>();
            sortFields.Add(SortField.ReportTitle, new ReportTitle());

            _reportRepository    = repository_report;
            _userRepository      = repository_user;
            _teamRepository      = repository_team;
            _categoryRepository  = category_repository;
            _tagRepository       = repository_tag;
            _tileRepository      = repository_tile;
            _tileQueryRepository = _tileQ;
        }
Ejemplo n.º 9
0
 public RegionRepository(ITileRepository tileRepository)
 {
     this._tileRepository = tileRepository;
     this._connectionString = ConfigurationManager.ConnectionStrings["kingdom"].ToString();
 }
Ejemplo n.º 10
0
 public PutTileService(DataContext context, ITileRepository tileRepository, IBoardComponentRepository boardComponentRepository)
 {
     _context                  = context;
     _tileRepository           = tileRepository;
     _boardComponentRepository = boardComponentRepository;
 }
Ejemplo n.º 11
0
 public TileManager(ITileRepository repository, int maxCacheSize = MaxCacheSize)
 {
     _cache        = new ElevationMapCache(repository, maxCacheSize);
     _tileTreeRoot = TreeBuilder.BuildTree(repository.GetTiles());
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Initializes a new instance of the TileService class.
 /// </summary>
 public TileService()
 {
     pyramidRepositoryInstance = TileRepositoryFactory.Create();
 }
Ejemplo n.º 13
0
 public TileService(ITileRepository tileRepository, IAggregateTileResolver tileResolver)
 {
     this._tileRepository = tileRepository;
     this._tileResolver = tileResolver;
 }
Ejemplo n.º 14
0
 public ElevationMapCache(ITileRepository repository, int maxCacheSize)
     : base(maxCacheSize)
 {
     _repository = repository;
 }
Ejemplo n.º 15
0
 /// <summary>
 /// Initializes a new instance of the TileService class.
 /// </summary>
 public TileService()
 {
     pyramidRepositoryInstance = TileRepositoryFactory.Create();
 }
Ejemplo n.º 16
0
 public TileService(ITileRepository tileRepository, IMapper mapper) : base(mapper)
 {
     _tileRepository = tileRepository;
 }