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