Пример #1
0
 /// <devdoc>
 ///    <para>[To be supplied.]</para>
 /// </devdoc>
 public CodeMethodInvokeExpression(CodeExpression targetObject, string methodName, params CodeExpression[] parameters)
 {
     _method = new CodeMethodReferenceExpression(targetObject, methodName);
     Parameters.AddRange(parameters);
 }
Пример #2
0
 /// <devdoc>
 ///    <para>
 ///       Initializes a new instance of <see cref='Microsoft.CodeDom.CodeMethodInvokeExpression'/> using the specified target object, method name
 ///       and parameters.
 ///    </para>
 /// </devdoc>
 public CodeMethodInvokeExpression(CodeMethodReferenceExpression method, params CodeExpression[] parameters)
 {
     _method = method;
     Parameters.AddRange(parameters);
 }