title: MVVM Light RelayCommand Parameters
body: <p>I'm having an issue with passing a parameter to a relaycommand using the GalaSoft MVVM Light framework.  I know that mvvm light's implementation of relaycommand doesn't use lambda parameters, so I did some research and found a way that people worked around it by doing something like this:</p>
  
  <pre><code>public RelayCommand ProjMenuItem_Edit
  {
      get
      {
          if (_projmenuItem_Edit == null)
          {
              //This should work....
              _projmenuItem_Edit = new RelayCommand(ProjEditNode);
          }
          return _projmenuItem_Edit;
      }
  }
  
  private void ProjEditNode(object newText)
  {
      var str = newText as string;
      OrganLocationViewModel sel = 
          ProjectOrganLocationView.GetExtendedTreeView().GetTopNode();
  
      //Console.WriteLine(sel.OrganDisplayName);
      sel.OrganDisplayName = str;
  }
  </code></pre>
  
  <p>However, I keep getting an error on the line <code>_projmenuItem_Edit = new RelayCommand(ProjEditNode);</code> that says <code>Argument 1: cannot convert from 'method group' to 'System.Action'</code></p>
  
  <p>What am I missing? </p>