diff options
Diffstat (limited to 'sdks/wasm/BrowserDebugProxy/DebuggerProxy.cs')
-rw-r--r-- | sdks/wasm/BrowserDebugProxy/DebuggerProxy.cs | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/sdks/wasm/BrowserDebugProxy/DebuggerProxy.cs b/sdks/wasm/BrowserDebugProxy/DebuggerProxy.cs index 74566c56024..08fe836200d 100644 --- a/sdks/wasm/BrowserDebugProxy/DebuggerProxy.cs +++ b/sdks/wasm/BrowserDebugProxy/DebuggerProxy.cs @@ -1,22 +1,29 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using System; using System.Net.WebSockets; using System.Threading.Tasks; using Microsoft.Extensions.Logging; -namespace WebAssembly.Net.Debugging { +namespace Microsoft.WebAssembly.Diagnostics +{ - // This type is the public entrypoint that allows external code to attach the debugger proxy - // to a given websocket listener. Everything else in this package can be internal. + // This type is the public entrypoint that allows external code to attach the debugger proxy + // to a given websocket listener. Everything else in this package can be internal. - public class DebuggerProxy { - private readonly MonoProxy proxy; + public class DebuggerProxy + { + private readonly MonoProxy proxy; - public DebuggerProxy (ILoggerFactory loggerFactory) { - proxy = new MonoProxy(loggerFactory); - } + public DebuggerProxy(ILoggerFactory loggerFactory) + { + proxy = new MonoProxy(loggerFactory); + } - public Task Run (Uri browserUri, WebSocket ideSocket) { - return proxy.Run (browserUri, ideSocket); - } - } + public Task Run(Uri browserUri, WebSocket ideSocket) + { + return proxy.Run(browserUri, ideSocket); + } + } } |