Пример #1
0
        /// <inheritdoc/>
        protected override BackendInfo InstantiateItem(string itemId)
        {
            var destinationManager = _destinationManagerFactory.CreateDestinationManager();
            var httpClientFactory  = _httpClientFactoryFactory.CreateFactory();

            return(new BackendInfo(itemId, destinationManager, httpClientFactory));
        }
Пример #2
0
        /// <inheritdoc/>
        protected override BackendInfo InstantiateItem(string itemId)
        {
            var endpointManager   = _endpointManagerFactory.CreateEndpointManager();
            var httpClientFactory = _httpClientFactoryFactory.CreateFactory();

            return(new BackendInfo(itemId, endpointManager, httpClientFactory));
        }