Skip to content

Commit a500674

Browse files
committed
add copyright statements
1 parent dc6c1b2 commit a500674

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

samples/ServerSideBlazor/ChatClient.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
using Microsoft.JSInterop;
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
using Microsoft.JSInterop;
25
using System;
36
using System.Collections.Generic;
4-
using System.Linq;
57
using System.Threading.Tasks;
68

79
namespace ServerSideBlazor

samples/ServerSideBlazor/Hubs/ChatHub.cs renamed to samples/ServerSideBlazor/Hub/ChatHub.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
using Microsoft.AspNetCore.SignalR;
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
using Microsoft.AspNetCore.SignalR;
25
using System;
36
using System.Collections.Generic;
4-
using System.Linq;
57
using System.Threading.Tasks;
68

7-
namespace ServerSideBlazor.Hubs
9+
namespace ServerSideBlazor
810
{
911
/// <summary>
1012
/// The SignalR hub

samples/ServerSideBlazor/Startup.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
14
using System;
25
using System.Collections.Generic;
36
using System.Linq;
@@ -55,7 +58,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
5558
endpoints.MapBlazorHub();
5659
endpoints.MapFallbackToPage("/_Host");
5760
endpoints.MapDefaultControllerRoute();
58-
endpoints.MapHub<Hubs.ChatHub>("/chathub");
61+
endpoints.MapHub<ChatHub>("/chathub");
5962
});
6063
}
6164
}

0 commit comments

Comments
 (0)