mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
ColorGradient - Fixed GetColor returning the first stop if position was after the last stop
16 lines
359 B
C#
16 lines
359 B
C#
namespace Artemis.UI.Shared.Routing.ParameterParsers;
|
|
|
|
internal class StringParameterParser : IRouteParameterParser
|
|
{
|
|
/// <inheritdoc />
|
|
public bool IsMatch(RouteSegment segment, string source)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
public object GetValue(RouteSegment segment, string source)
|
|
{
|
|
return source;
|
|
}
|
|
} |