Class FooterSection
A titled group of links in a TwFooter, drawn as one column.
public sealed record FooterSection : IEquatable<FooterSection>
- Inheritance
-
FooterSection
- Implements
- Inherited Members
Constructors
FooterSection(string, IReadOnlyList<FooterLink>)
A titled group of links in a TwFooter, drawn as one column.
public FooterSection(string Title, IReadOnlyList<FooterLink> Links)
Parameters
TitlestringThe heading of the group.
LinksIReadOnlyList<FooterLink>The links in the group, in order.
Properties
Links
The links in the group, in order.
public IReadOnlyList<FooterLink> Links { get; init; }
Property Value
Title
The heading of the group.
public string Title { get; init; }
Property Value
Methods
Deconstruct(out string, out IReadOnlyList<FooterLink>)
public void Deconstruct(out string Title, out IReadOnlyList<FooterLink> Links)
Parameters
TitlestringLinksIReadOnlyList<FooterLink>
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(FooterSection?)
public bool Equals(FooterSection? other)
Parameters
otherFooterSection
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(FooterSection?, FooterSection?)
public static bool operator ==(FooterSection? left, FooterSection? right)
Parameters
leftFooterSectionrightFooterSection
Returns
operator !=(FooterSection?, FooterSection?)
public static bool operator !=(FooterSection? left, FooterSection? right)
Parameters
leftFooterSectionrightFooterSection