public PrepareNamespaceImports ( IEnumerable |
||
imports | IEnumerable |
The namespace imports. |
return | IEnumerable |
namespaces
like in the example below and prefixes them with global:: to prevent namespace collisions in the test unit files. so the unit test becomes:
Take a look at the 'using MbUnit.Framework' import. In that way it conflicts with the 'NStub.CSharp.MbUnit' import and circumvents the name resolution of the TestAttribute. This method detects such concerns and puts a global:: prefix in front of the 'MbUnit.Framework' namespace import.
public PrepareNamespaceImports ( IEnumerable |
||
imports | IEnumerable |
The namespace imports. |
return | IEnumerable |