title: How to pass array of simple types into In-Rule method
body: <p>I have In Rule method that should accept set of simple types e.g. array of string type or array of integers (int16).</p>
  
  <p>I tried to create following methods</p>
  
  <pre><code>/* Method with string array*/
  [Method(DisplayName = "[M1]")]
      public int Method1([Parameter(ValueInputType.All)] 
                          string[] valStrings )
      {
          return valStrings.Length; // any calculation goes here
      }
  }
  
  /* Method with PARAMS string array*/
  [Method(DisplayName = "[M2]")]
      public int Method2([Parameter(ValueInputType.All)] 
                         params string[] valStrings )
      {
          return valStrings.Length; // any calculation goes here
      }
  }
  
  /* Method with INT ARRAY referencing on external data source*/
  [Method(DisplayName = "[M2]")]
      public int Method2([Parameter(ValueInputType.All,
                          DataSourceName="myDataList" )] 
                         params int[] valInt )
      {
          return valInt; // any calculation goes here
      }
  }
  </code></pre>
  
  <p>It seems that codeeffect library <strong>4.3.2.6</strong> does not support passing <strong>user entered</strong> parameters into the In-Rule method and restricts In-Rule method with only simple parameter type e.g. <strong>Int</strong> but not <strong>int[]</strong> . Seems that I cannot connect DataSource with In Rule method to pass more than one item from data source into the in-rule method. The main idea that only USER should enter either the simple type(s) or select more than one data source item? <strong><em>I cannot restrict user to pass Source Object Field from source object that returns collection.</em></strong></p>
  
  <p>Any suggestions or workarounds?</p>