/// <summary>
 /// Initializes a new instance of the <see cref="IMEIController"/> class.
 /// </summary>
 /// <param name="imeiService">The IMEI service to use.</param>
 /// <param name="logService">The log service to use.</param>
 public IMEIController(IIMEIService imeiService, ILogService logService)
 {
     _imeiService = imeiService;
     _logService = logService;
 }
Exemplo n.º 2
0
 public MapController(ILocationService locationService, IIMEIService imeiService)
 {
     this.locationService = locationService ?? new LocationService();
     this.imeiService = imeiService ?? new IMEIService();
 }
Exemplo n.º 3
0
 public MapController(ILocationService locationService, IIMEIService imeiService, ILogService logService)
 {
     this.locationService = locationService;
     this.imeiService     = imeiService;
     this.logService      = logService;
 }
Exemplo n.º 4
0
 public LocationService(IIMEIService imeiService)
 {
     this.imeiService = imeiService ?? new IMEIService();
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IMEIController"/> class.
 /// </summary>
 /// <param name="imeiService">The IMEI service to use.</param>
 /// <param name="logService">The log service to use.</param>
 public IMEIController(IIMEIService imeiService, ILogService logService)
 {
     _imeiService = imeiService;
     _logService  = logService;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LocationService"/> class.
 /// </summary>
 /// <param name="imeiService">The IMEI service this service should use.</param>
 /// <param name="context">The data context to store to.</param>
 /// <remarks>If <paramref name="imeiService"/> is null, it will be loaded from the DependencyResolver</remarks>
 public LocationService(ILocationContext context, IIMEIService imeiService)
 {
     _imeiService = imeiService;
     _dataContext = context;
 }