mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 13:15:03 +00:00
fix: add param info, clean up trailing whitespace and minor formatting
This commit is contained in:
@@ -20,7 +20,7 @@ namespace PepperDash.Core
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string Name { get; protected set; }
|
public string Name { get; protected set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
/// Gets or sets a value indicating whether the device is enabled
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool Enabled { get; protected set; }
|
public bool Enabled { get; protected set; }
|
||||||
|
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ namespace PepperDash.Core
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides extension methods for DebugConsoleSink
|
/// Provides extension methods for DebugConsoleSink
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static class DebugConsoleSinkExtensions
|
public static class DebugConsoleSinkExtensions
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ namespace PepperDash.Core.Logging
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Constructor for DebugErrorLogSink
|
/// Constructor for DebugErrorLogSink
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <param name="formatter">text formatter for log output</param>
|
||||||
public DebugErrorLogSink(ITextFormatter formatter = null)
|
public DebugErrorLogSink(ITextFormatter formatter = null)
|
||||||
{
|
{
|
||||||
_formatter = formatter;
|
_formatter = formatter;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using Log = PepperDash.Core.Debug;
|
|||||||
|
|
||||||
namespace PepperDash.Core.Logging
|
namespace PepperDash.Core.Logging
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides extension methods for logging on IKeyed objects
|
/// Provides extension methods for logging on IKeyed objects
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static class DebugExtensions
|
public static class DebugExtensions
|
||||||
|
|||||||
@@ -67,6 +67,8 @@ namespace PepperDash.Core
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Constructor for DebugWebsocketSink
|
/// Constructor for DebugWebsocketSink
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <param name="formatProvider">text formatter for log output</param>
|
||||||
|
|
||||||
public DebugWebsocketSink(ITextFormatter formatProvider)
|
public DebugWebsocketSink(ITextFormatter formatProvider)
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -227,7 +229,7 @@ namespace PepperDash.Core
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides extension methods for DebugWebsocketSink
|
/// Provides extension methods for DebugWebsocketSink
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static class DebugWebsocketSinkExtensions
|
public static class DebugWebsocketSinkExtensions
|
||||||
{
|
{
|
||||||
@@ -310,7 +312,7 @@ namespace PepperDash.Core
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// OnError method
|
/// OnError method
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected override void OnError(WebSocketSharp.ErrorEventArgs e)
|
protected override void OnError(WebSocketSharp.ErrorEventArgs e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,15 +6,15 @@ using System.Threading.Tasks;
|
|||||||
namespace PepperDash.Core.Web.RequestHandlers
|
namespace PepperDash.Core.Web.RequestHandlers
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// CWS Base Async Handler, implements IHttpCwsHandler
|
/// CWS Base Async Handler, implements IHttpCwsHandler
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public abstract class WebApiBaseRequestAsyncHandler:IHttpCwsHandler
|
public abstract class WebApiBaseRequestAsyncHandler:IHttpCwsHandler
|
||||||
{
|
{
|
||||||
private readonly Dictionary<string, Func<HttpCwsContext, Task>> _handlers;
|
private readonly Dictionary<string, Func<HttpCwsContext, Task>> _handlers;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Indicates whether CORS is enabled
|
/// Indicates whether CORS is enabled
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected readonly bool EnableCors;
|
protected readonly bool EnableCors;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user