title: NUnit testcasesource with data refactored into another class
body: <p>I am using NUnit with the TestCaseSource attribute to do data-driven testing with dynamic data in the same approach as <a href="https://stackoverflow.com/questions/2287829/nunit-testcasesource-pass-value-to-factory">NUnit TestCaseSource pass value to factory</a> and 
  <a href="https://stackoverflow.com/questions/4220943/how-to-pass-dynamic-objects-into-an-nunit-testcase-function">How to pass dynamic objects into an NUnit TestCase function?</a></p>
  
  <p>In each case they use IEnumerable &lt; TestCaseData >  to specify data.  It appears from the NUnit documentation here <a href="http://nunit.org/index.php?p=testCaseSource&amp;r=2.5" rel="noreferrer">http://nunit.org/index.php?p=testCaseSource&amp;r=2.5</a> that this needs to be a static or instance member of the same class as the TestCase.  </p>
  
  <p>I would like to refactor this into another class since I want to use the same TestCaseSource attribute.  Does anyone know if this is possible? </p>