/// <summary>
        /// Adds a module connection to the collection.
        /// </summary>
        /// <param name="connection">Module connection to add.</param>
        public void Add(ConnectToModule connection)
        {
            if (null == connection)
            {
                throw new ArgumentNullException("connection");
            }

            this.collection.Add(connection.ChildId, connection);
        }
Esempio n. 2
0
        /// <summary>
        /// Adds a module connection to the collection.
        /// </summary>
        /// <param name="connection">Module connection to add.</param>
        public void Add(ConnectToModule connection)
        {
            if (null == connection)
            {
                throw new ArgumentNullException("connection");
            }

            this.collection.Add(connection.ChildId, connection);
        }