< Summary

Information
Class: Allyaria.Theming.Helpers.ThemeUpdater
Assembly: Allyaria.Theming
File(s): /home/runner/work/allyaria/allyaria/src/Allyaria.Theming/Helpers/ThemeUpdater.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 24
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Navigator()100%11100%

File(s)

/home/runner/work/allyaria/allyaria/src/Allyaria.Theming/Helpers/ThemeUpdater.cs

#LineLine coverage
 1namespace Allyaria.Theming.Helpers;
 2
 3/// <summary>
 4/// Represents a single theming update instruction that pairs a <see cref="ThemeNavigator" /> with a corresponding
 5/// <see cref="IStyleValue" /> to modify style properties within the Allyaria theming system.
 6/// </summary>
 7/// <remarks>
 8///     <para>
 9///     Each <see cref="ThemeUpdater" /> defines the mapping between a navigation context (which specifies components,
 10///     states, and theme types) and a concrete style value to apply.
 11///     </para>
 12///     <para>
 13///     These instances are typically generated by <see cref="ThemeApplierBase" /> and consumed by
 14///     <see cref="IThemeConfigurator" /> or <see cref="ThemeBuilder" /> during theme composition.
 15///     </para>
 16/// </remarks>
 17/// <param name="Navigator">
 18/// The <see cref="ThemeNavigator" /> defining the scope of components, states, and styles affected by this update.
 19/// </param>
 20/// <param name="Value">
 21/// The <see cref="IStyleValue" /> representing the CSS or visual style value to apply. May be <see langword="null" /> i
 22/// the updater is used as a placeholder or mapping definition.
 23/// </param>
 7277224public readonly record struct ThemeUpdater(ThemeNavigator Navigator, IStyleValue? Value);

Methods/Properties

get_Navigator()