Method to add namespaces to the compiled code. Add namespaces to minimize explicit namespace requirements in your Razor template code.
Make sure that any required assemblies are loaded first.
public void AddNamespace(string ns, String[] additionalNamespaces)
Parameters
ns
First namespace
additionalNamespaces
additional namespaces
Overloads:
See also:
Class RazorEngine© West Wind Technologies, 2018 • Updated: 06/07/18
Comment or report problem with topic