예제 #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
			});
		}
예제 #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
     });
 }