Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Import directive is used to import a namespace for use in your template. This lets you refer to types in other assemblies more conveniently. For instance, when you're using the SchemaExplorer assembly, you probably don't want to have to prefix every type from that assembly with the name of the assembly. The solution is to include an Import directive in your template along with the Assembly directive:

...