private void CreateScope() { var serviceScope = _serviceProvider.CreateScope(); _appAddress = serviceScope.ServiceProvider.GetService <IAppAddress>(); _httpClientService = serviceScope.ServiceProvider.GetService <IHttpClientService>(); }
public AddressController(IAppAddress app) { _app = app; }
public AppAddressTest() { _target = GetService <IAppAddress>(); }