/// <summary>
        /// Gets a new instance of a implementation of IClientConnection
        /// </summary>
        /// <returns>Returns a new instance of implementation of IClientConnection or null if no implementation could be found</returns>
        public virtual IClientConnection GetClientConnection()
        {
            var factory = new DefaultClientConnection();
            factory.ComponentFactory = new DefaultComponentFactory();

            return factory;
        }
Пример #2
0
        /// <summary>
        /// Gets a new instance of a implementation of IClientConnection
        /// </summary>
        /// <returns>Returns a new instance of implementation of IClientConnection or null if no implementation could be found</returns>
        public virtual IClientConnection GetClientConnection()
        {
            var factory = new DefaultClientConnection();

            factory.ComponentFactory = new DefaultComponentFactory();

            return(factory);
        }