示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IMEIService" /> class.
 /// </summary>
 /// <param name="context">The data context to store to.</param>
 /// <param name="locationService">The location service to support this service.</param>
 /// <remarks>If <paramref name="locationService"/> is null, it will be loaded from the DependencyResolver</remarks>
 public IMEIService(IIMEIContext context, ILocationService locationService)
 {
     _dataContext         = context;
     this.locationService = locationService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="IMEIService" /> class.
 /// </summary>
 /// <param name="context">The data context to store to.</param>
 /// <param name="locationService">The location service to support this service.</param>
 /// <remarks>If <paramref name="locationService"/> is null, it will be loaded from the DependencyResolver</remarks>
 public IMEIService(IIMEIContext context, ILocationService locationService)
 {
     _dataContext = context;
     this.locationService = locationService;
 }
示例#3
0
 public IMEIService(IIMEIContext context) : this(context, null)
 {
 }
 public IMEIService(IIMEIContext context) : this(context, null) { }