MultiModelDirectiveProcessor.cs
Last updated: 24th August 2005
Sample of a DirectiveProcessor for use with the May release of the DSL Toolkit.
No documentation - limited code comments only.
This sample directive processor loads all of the DSL models of a particular type in a specified directory and makes them available as an IList via a property called "Models".
Expected format of the directive in template file:
<#@ multimodel processor="MultiModelDirectiveProcessor" modelDirectory="C:\MyDir" #>
To test the code, create a new DSL language project with the language name �VanillaSimpleDSL� (other values as defaults).
Add this class to the designer, then run. You should then be able to use this directive processor in a template in the debugging solution.