1 instantiation of TpnSection
installer.tasks (1)
StaticFileRegeneration\TpnDocument.cs (1)
27
return new
TpnSection
10 references to TpnSection
installer.tasks (10)
StaticFileRegeneration\RegenerateThirdPartyNotices.cs (5)
135
foreach (
var
s in existingTpn.Sections.OrderBy(s => s.Header.SingleLineName))
147
TpnSection
[] newSections = otherTpns
149
.Except(existingTpn.Sections, new
TpnSection
.ByHeaderNameComparer())
153
foreach (
TpnSection
existing in results
163
foreach (
var
s in newSections)
StaticFileRegeneration\TpnDocument.cs (1)
62
public IEnumerable<
TpnSection
> Sections { get; set; }
StaticFileRegeneration\TpnSection.cs (4)
11
public class ByHeaderNameComparer : EqualityComparer<
TpnSection
>
13
public override bool Equals(
TpnSection
x,
TpnSection
y) =>
16
public override int GetHashCode(
TpnSection
obj) => obj.Header.Name.GetHashCode();