Skip to content

Commit

Permalink
Refactor XML documentation to use <inheritdoc/> for inherited members
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlodotexe committed Jan 24, 2025
1 parent 869a9c1 commit 5b8b2b3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions components/Primitives/src/SwitchPresenter/SwitchConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,15 @@ public SwitchConverter()
SwitchCases = new CaseCollection();
}

/// <summary>
/// Converts the provided value based on the defined cases.
/// </summary>
/// <inheritdoc/>
public object Convert(object value, Type targetType, object parameter, string language)
{
var result = SwitchCases.EvaluateCases(value, TargetType ?? targetType);

return result?.Content!;
}

/// <summary>
/// Not implemented.
/// </summary>
/// <inheritdoc/>
public object ConvertBack(object value, Type targetType, object parameter, string language)
{
throw new NotImplementedException();
Expand Down

0 comments on commit 5b8b2b3

Please sign in to comment.