public HomeViewModel(IDescriptionService descriptionService, IMvxMessenger messenger) { _token = messenger.SubscribeOnMainThread<TickMessage>(OnTick); Descriptions = descriptionService.Descriptions .Select(x => new DescriptionViewModel(x)) .ToList(); }
private Item( IDescriptionService descriptionService, IOutputService outputService) { _descriptionService = descriptionService; _outputService = outputService; }
public MainViewModel(INavigationService navigationService, IDescriptionService descriptionService, IDataService dataService) : base("MainView", navigationService) { this.dataService = dataService; this.Title = $"Hello, {descriptionService.Platform}!"; }
public HomeViewModel(IDescriptionService descriptionService, IMvxMessenger messenger) { _token = messenger.SubscribeOnMainThread <TickMessage>(OnTick); Descriptions = descriptionService.Descriptions .Select(x => new DescriptionViewModel(x)) .ToList(); }
public AnimalService(IRepository <Animal> repository, IMapper mapper, IKeepingService keepingService, IAttitudeToService attitudesToService, IDefectService defectService, IProcessingService processingService, INeedsService needsService, IVaccinationService vaccinationService, IIsNewService isNewService, IUriService uriService, IAnimalLocationHistoryService locationHistoryService, IStatisticService <Animal> statisticService, IAnimalViewLocationService locationService, IFilterService <Animal, AnimalQuery> animalFilterService, IDescriptionService descriptionService, IBreedService breedService) { _repository = repository; _mapper = mapper; _keepingService = keepingService; _attitudesToService = attitudesToService; _defectService = defectService; _processingService = processingService; _needsService = needsService; _isNewService = isNewService; _vaccinationService = vaccinationService; _uriService = uriService; _locationHistoryService = locationHistoryService; _statisticService = statisticService; _descriptionService = descriptionService; _breedService = breedService; _locationService = locationService; _animalFilterService = animalFilterService; }
public static TestServer CreateTestServer(IArtistDetailsService artistService = null, ICoverArtUrlService coverArtUrlService = null, IDescriptionService descriptionService = null) { var builder = TestServer.CreateBuilder().UseStartup<Startup>(); return new TestServer(builder); }
public ServiceRepository( IStatusService statusService, IDescriptionService descriptionService) { _statusService = statusService; _descriptionService = descriptionService; _cachedServices = new List <Service>(); }
public MusicBrainzService(IHttpClientWrapper httpClient, IDescriptionService descriptionService, ICoverArtUrlService coverArtUrlService, IErrorLogger logger) { _client = httpClient; _descriptionService = descriptionService; _coverArtUrlService = coverArtUrlService; _logger = logger; _client.BaseAddress = new Uri(Uri); }
public Scene(Game game, string name) : base(game) { this.name = name; sceneObjects = new List<DisplayObject>(); hotSpots = new List<HotSpot>(); displayObjects = new List<IDisplayObject>(); spriteBatch = (SpriteBatch)game.Services.GetService(typeof(SpriteBatch)); inputManager = (IInputService)game.Services.GetService(typeof(IInputService)); descriptionManager = (IDescriptionService)game.Services.GetService(typeof(IDescriptionService)); languageManager = (ILanguageService)game.Services.GetService(typeof(ILanguageService)); }
public Inventory(Game game, string backgroundAsset, string itemsAsset, string pickupSound) : base(game) { this.backgroundAsset = backgroundAsset; this.itemsAsset = itemsAsset; this.pickupSound = pickupSound; spriteBatch = (SpriteBatch)game.Services.GetService(typeof(SpriteBatch)); inputManager = (IInputService)game.Services.GetService(typeof(IInputService)); descriptionManager = (IDescriptionService)game.Services.GetService(typeof(IDescriptionService)); items = new List<Item>(); oldItems = new List<Item>(); itemCombinations = new List<ItemCombination>(); triggeredCombinations = new List<ItemCombination>(); }
public HomeController(IRealEstateService realEstateService, IPersonService personService, IDescriptionService descriptionService) { _realEstateService = realEstateService; _personService = personService; _descriptionService = descriptionService; }
public DescriptionController(IDescriptionService descriptionService) { _descriptionService = descriptionService; }
public DescriptionController(IDescriptionService descriptionService) { Check.If(descriptionService).IsNotNull(); _descriptionService = descriptionService; }
private Location(IDescriptionService descriptionService) { _descriptionService = descriptionService; }
public DescriptionController(IDescriptionService description) { _descriptionManager = (DescriptionManager)description; }
public AdminController(IRealEstateService realEstateService, IDescriptionService descriptionService) { sendForm = new SendFormViewModel(); _realEstateService = realEstateService; _descriptionService = descriptionService; }