コード例 #1
0
        private void Dispose(bool disposing)
        {
            if (disposing && !_disposed && _serviceAgentHttp != null)
            {
                var localServiceAgentHttp = _serviceAgentHttp;
                localServiceAgentHttp.Dispose();
                _serviceAgentHttp = null;
            }

            _disposed = true;
        }
コード例 #2
0
 public IncidentResponseGateway(IncidentResponseServiceConnectionInfo incidentResponseServiceConnectionInfo)
 {
     _incidentResponseServiceConnectionInfo = incidentResponseServiceConnectionInfo;
     _serviceAgentHttp = new ServiceAgentHttp(incidentResponseServiceConnectionInfo.BaseUrl);
 }
 public WorkOrderServiceGatewayV2(WorkOrderServiceConnectionInfo workOrderServiceSettings)
 {
     _workOrderServiceSettings = workOrderServiceSettings;
     _serviceAgentHttp         = new ServiceAgentHttp(_workOrderServiceSettings.BaseUrl);
 }