コード例 #1
0
        public static IBSocket SendPrimaryExchange(this IBSocket socket, SecurityMessage security)
        {
            if (security == null)
            {
                throw new ArgumentNullException(nameof(security));
            }

            if (socket.ServerVersion < ServerVersions.V14)
            {
                return(socket);
            }

            return(socket.SendBoardCode(security.GetRoutingBoard()));
        }