/// <summary> /// Used to generate initial request parameter Dictionary /// </summary> /// <param name="paramName"></param> /// <param name="paramValue"></param> private void Add(Parameter paramName, object paramValue) { if (paramValue is null) { if (paramName.Required) { throw new InvalidOperationException($"Route parameter: {paramName.ExtName} can not be null, please verify exchange descritor:{Exchange.ToString()}"); } return; } RequestParameter.Add(paramName.ExtName, paramValue); }