コード例 #1
0
ファイル: GenerationResult.cs プロジェクト: troshko111/ForTea
 /// <summary>
 /// Creates a new instance of <see cref="GenerationResult"/> for a given file.
 /// </summary>
 /// <param name="file">The T4 file that will be used for code-behind generation.</param>
 internal GenerationResult([NotNull] IT4File file)
 {
     _builder           = new StringBuilder(1024);
     _generatedRangeMap = new GeneratedRangeMapTree(file);
 }
コード例 #2
0
ファイル: GenerationResult.cs プロジェクト: sscctech/ForTea
 /// <summary>
 /// Creates a new instance of <see cref="GenerationResult"/> for a given file.
 /// </summary>
 /// <param name="file">The T4 file that will be used for code-behind generation.</param>
 internal GenerationResult([NotNull] IT4File file)
 {
     _builder = new StringBuilder(1024);
     _generatedRangeMap = new GeneratedRangeMapTree(file);
 }
コード例 #3
0
 /// <summary>Creates a new instance of <see cref="T4CSharpCodeGenerationResult"/> for a given file.</summary>
 /// <param name="file">The T4 file that will be used for code-behind generation.</param>
 public T4CSharpCodeGenerationResult([NotNull] IT4File file)
 {
     Builder           = new StringBuilder(1024);
     GeneratedRangeMap = GeneratedRangeMapFactory.CreateGeneratedRangeMap(file);
 }
コード例 #4
0
ファイル: GenerationResult.cs プロジェクト: tronsoft/ForTea
 /// <summary>Creates a new instance of <see cref="GenerationResult"/> for a given file.</summary>
 /// <param name="file">The T4 file that will be used for code-behind generation.</param>
 public GenerationResult([NotNull] IT4File file)
 {
     Builder           = new StringBuilder(1024);
     GeneratedRangeMap = new GeneratedRangeMapTree(file);
 }