@@ -32,6 +32,9 @@ public class DebugWebsocketSink : ILogEventSink
3232 private const string _certificateName = "selfCres" ;
3333 private const string _certificatePassword = "cres12345" ;
3434
35+ /// <summary>
36+ /// Gets the Port
37+ /// </summary>
3538 public int Port
3639 { get
3740 {
@@ -41,6 +44,9 @@ public int Port
4144 }
4245 }
4346
47+ /// <summary>
48+ /// Gets the Url
49+ /// </summary>
4450 public string Url
4551 {
4652 get
@@ -58,6 +64,9 @@ public string Url
5864
5965 private readonly ITextFormatter _textFormatter ;
6066
67+ /// <summary>
68+ /// Constructor for DebugWebsocketSink
69+ /// </summary>
6170 public DebugWebsocketSink ( ITextFormatter formatProvider )
6271 {
6372
@@ -217,6 +226,9 @@ public void StopServer()
217226 }
218227 }
219228
229+ /// <summary>
230+ /// Provides extension methods for DebugWebsocketSink
231+ /// </summary>
220232 public static class DebugWebsocketSinkExtensions
221233 {
222234 /// <summary>
@@ -237,6 +249,9 @@ public class DebugClient : WebSocketBehavior
237249 {
238250 private DateTime _connectionTime ;
239251
252+ /// <summary>
253+ /// Gets the ConnectedDuration
254+ /// </summary>
240255 public TimeSpan ConnectedDuration
241256 {
242257 get
@@ -252,11 +267,17 @@ public TimeSpan ConnectedDuration
252267 }
253268 }
254269
270+ /// <summary>
271+ /// Constructor for DebugClient
272+ /// </summary>
255273 public DebugClient ( )
256274 {
257275 Debug . Console ( 0 , "DebugClient Created" ) ;
258276 }
259277
278+ /// <summary>
279+ /// OnOpen method
280+ /// </summary>
260281 protected override void OnOpen ( )
261282 {
262283 base . OnOpen ( ) ;
@@ -267,13 +288,19 @@ protected override void OnOpen()
267288 _connectionTime = DateTime . Now ;
268289 }
269290
291+ /// <summary>
292+ /// OnMessage method
293+ /// </summary>
270294 protected override void OnMessage ( MessageEventArgs e )
271295 {
272296 base . OnMessage ( e ) ;
273297
274298 Debug . Console ( 0 , "WebSocket UiClient Message: {0}" , e . Data ) ;
275299 }
276300
301+ /// <summary>
302+ /// OnClose method
303+ /// </summary>
277304 protected override void OnClose ( CloseEventArgs e )
278305 {
279306 base . OnClose ( e ) ;
@@ -282,6 +309,9 @@ protected override void OnClose(CloseEventArgs e)
282309
283310 }
284311
312+ /// <summary>
313+ /// OnError method
314+ /// </summary>
285315 protected override void OnError ( WebSocketSharp . ErrorEventArgs e )
286316 {
287317 base . OnError ( e ) ;
0 commit comments