public static void AddParameter(InternalWebMethodInfo that, string Name, string Value) { //Console.WriteLine("InternalWebMethodInfo.AddParameter " + new { Name, Value }); if (that.InternalParameters == null) { that.InternalParameters = new ArrayList(); } var n = new InternalWebMethodParameterInfo { Name = Name, Value = Value }; that.InternalParameters.Add(n); that.Parameters = (InternalWebMethodParameterInfo[])that.InternalParameters.ToArray( typeof(InternalWebMethodParameterInfo) ); }
public static void AddParameter(InternalWebMethodInfo that, string Name, string Value) { //Console.WriteLine("InternalWebMethodInfo.AddParameter " + new { Name, Value }); if (that.InternalParameters == null) that.InternalParameters = new ArrayList(); var n = new InternalWebMethodParameterInfo { Name = Name, Value = Value }; that.InternalParameters.Add(n); that.Parameters = (InternalWebMethodParameterInfo[])that.InternalParameters.ToArray( typeof(InternalWebMethodParameterInfo) ); }