/// <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); }
/// <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); }
/// <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); }
/// <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); }