/// <summary>
        /// Initializes a new instance of the <see cref="ServerNetworkArgument"/> class
        /// with the specified network ID.
        /// </summary>
        /// <param name="networkId">The network ID.</param>
        /// <exception cref="ArgumentNullException">If <paramref name="networkId"/> is <see langword="null"/>.</exception>
        public ServerNetworkArgument(NetworkId networkId)
        {
            if (networkId == null)
                throw new ArgumentNullException("networkId");

            _uuid = networkId;
        }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ServerNetworkArgument"/> class
        /// with the specified network ID.
        /// </summary>
        /// <param name="networkId">The network ID.</param>
        /// <exception cref="ArgumentNullException">If <paramref name="networkId"/> is <see langword="null"/>.</exception>
        public ServerNetworkArgument(NetworkId networkId)
        {
            if (networkId == null)
            {
                throw new ArgumentNullException("networkId");
            }

            _uuid = networkId;
        }