Example #1
0
		public DirectiveInfoManager([NotNull] T4Environment environment) {
			Template = new TemplateDirectiveInfo(environment);
			Parameter = new ParameterDirectiveInfo();
			Output = new OutputDirectiveInfo();
			Include = new IncludeDirectiveInfo(environment);
			Assembly = new AssemblyDirectiveInfo();
			Import = new ImportDirectiveInfo();
			AllDirectives = Array.AsReadOnly(new DirectiveInfo[] {
				Template,
				Parameter,
				Output,
				Include,
				Assembly,
				Import
			});
		}
Example #2
0
 public DirectiveInfoManager([NotNull] T4Environment environment)
 {
     Template      = new TemplateDirectiveInfo(environment);
     Parameter     = new ParameterDirectiveInfo();
     Output        = new OutputDirectiveInfo();
     Include       = new IncludeDirectiveInfo();
     Assembly      = new AssemblyDirectiveInfo();
     Import        = new ImportDirectiveInfo();
     AllDirectives = Array.AsReadOnly(new DirectiveInfo[] {
         Template,
         Parameter,
         Output,
         Include,
         Assembly,
         Import
     });
 }