/// <summary>Initializes a new instance of the <see cref="T4FileData"/> class.</summary> /// <param name="t4File">The T4 file that will be scanned for data.</param> /// <param name="directiveInfoManager">An instance of <see cref="DirectiveInfoManager"/>.</param> public T4FileData([NotNull] IT4File t4File, [NotNull] DirectiveInfoManager directiveInfoManager) { _directiveInfoManager = directiveInfoManager; HandleDirectives(t4File); foreach (IT4Include include in t4File.GetRecursiveIncludes()) { HandleDirectives(include); } }