private void Dispose(bool disposing) { if (disposing && !_disposed && _serviceAgentHttp != null) { var localServiceAgentHttp = _serviceAgentHttp; localServiceAgentHttp.Dispose(); _serviceAgentHttp = null; } _disposed = true; }
public IncidentResponseGateway(IncidentResponseServiceConnectionInfo incidentResponseServiceConnectionInfo) { _incidentResponseServiceConnectionInfo = incidentResponseServiceConnectionInfo; _serviceAgentHttp = new ServiceAgentHttp(incidentResponseServiceConnectionInfo.BaseUrl); }
public WorkOrderServiceGatewayV2(WorkOrderServiceConnectionInfo workOrderServiceSettings) { _workOrderServiceSettings = workOrderServiceSettings; _serviceAgentHttp = new ServiceAgentHttp(_workOrderServiceSettings.BaseUrl); }