Skip to content

Commit

Permalink
fix (Meta Data): fixes bug with level and index being incorrectly ass…
Browse files Browse the repository at this point in the history
…igned
  • Loading branch information
jamiepollock committed Feb 12, 2024
1 parent f5e78c7 commit 7897d5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/// <param name="Theme">The theme of the subcomponent.</param>
/// <param name="Attributes">The attributes to be passed to the subcomponent.</param>
/// <param name="Section">The optional section of where this subcomponent is rendered.</param>
public sealed record SubcomponentMetaData<TSubcomponent>(TSubcomponent Subcomponent, int Level, int Index, int Total, string Theme, IReadOnlyHtmlAttributeCollection Attributes, string? Section) : SubcomponentMetaData(Index, Level, Total, Theme, Attributes, Section) where TSubcomponent : ISubcomponent
public sealed record SubcomponentMetaData<TSubcomponent>(TSubcomponent Subcomponent, int Level, int Index, int Total, string Theme, IReadOnlyHtmlAttributeCollection Attributes, string? Section) : SubcomponentMetaData(Level, Index, Total, Theme, Attributes, Section) where TSubcomponent : ISubcomponent
{
/// <inheritdoc/>
public override ISubcomponent GetSubcomponent()
Expand Down

0 comments on commit 7897d5b

Please sign in to comment.