Skip to content

Commit d71ffbf

Browse files
Apply suggestions from code review
Co-authored-by: Steve Sanderson <[email protected]>
1 parent 463a4d7 commit d71ffbf

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/Components/Components/src/Routing/OnNavigateArgs.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
14
using System;
25
using System.Collections.Generic;
36
using System.Linq;
@@ -15,8 +18,8 @@ public OnNavigateArgs(string path, CancellationTokenSource cancellationTokenSour
1518
CancellationTokenSource = cancellationTokenSource;
1619
}
1720

18-
public string Path { get; private set; }
21+
public string Path { get; }
1922

20-
public CancellationTokenSource CancellationTokenSource { get; private set; }
23+
public CancellationTokenSource CancellationTokenSource { get; }
2124
}
2225
}

src/Components/Components/src/Routing/Router.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
using System.Collections.ObjectModel;
99
using System.Linq;
1010
using System.Reflection;
11-
using System.Reflection.Metadata.Ecma335;
12-
using System.Security.Cryptography;
1311
using System.Threading;
1412
using System.Threading.Tasks;
1513
using Microsoft.AspNetCore.Components.Rendering;

0 commit comments

Comments
 (0)