Versions Compared

Key

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

...

In order for the CodeFileParser requires that the passed in string or file contents contain valid CSharp or VisualBasic code. The CodeFileParser uses theĀ public NRefactory libraries under the hood to create the DOM object.

The CodeFileParser Object

It is very easy to create a new CodeFileParser Instance in code by using the overloaded constructors below. Also, you can use the CodeFileParser by creating a template property. All you need to do is add a new Property Directive with the type CodeSmith.CodeFileParser to your template.

...