예제 #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 ClusterInfo InstantiateItem(string itemId)
        {
            var destinationManager = _destinationManagerFactory.CreateDestinationManager();

            return(new ClusterInfo(itemId, destinationManager));
        }