diff --git a/Src/SmtpServer/Authentication/UserAuthenticator.cs b/Src/SmtpServer/Authentication/UserAuthenticator.cs index 4eb55f4..7f6ad21 100644 --- a/Src/SmtpServer/Authentication/UserAuthenticator.cs +++ b/Src/SmtpServer/Authentication/UserAuthenticator.cs @@ -8,6 +8,9 @@ namespace SmtpServer.Authentication /// public abstract class UserAuthenticator : IUserAuthenticator { + /// + /// Default User Authenticator + /// public static readonly IUserAuthenticator Default = new DefaultUserAuthenticator(); /// diff --git a/Src/SmtpServer/AuthenticationContext.cs b/Src/SmtpServer/AuthenticationContext.cs index eb24b10..55d1e44 100644 --- a/Src/SmtpServer/AuthenticationContext.cs +++ b/Src/SmtpServer/AuthenticationContext.cs @@ -5,6 +5,9 @@ /// public sealed class AuthenticationContext { + /// + /// Authentication Context in the Unauthenticated state + /// public static readonly AuthenticationContext Unauthenticated = new AuthenticationContext(); /// diff --git a/Src/SmtpServer/ComponentModel/ServiceProvider.cs b/Src/SmtpServer/ComponentModel/ServiceProvider.cs index e58ed7d..2230b53 100644 --- a/Src/SmtpServer/ComponentModel/ServiceProvider.cs +++ b/Src/SmtpServer/ComponentModel/ServiceProvider.cs @@ -11,6 +11,9 @@ namespace SmtpServer.ComponentModel /// public sealed class ServiceProvider : IServiceProvider { + /// + /// Default Service Provider + /// public static readonly IServiceProvider Default = new ServiceProvider(); IEndpointListenerFactory _endpointListenerFactory; diff --git a/Src/SmtpServer/IO/PipeWriterExtensions.cs b/Src/SmtpServer/IO/PipeWriterExtensions.cs index 5c635f1..767e12a 100644 --- a/Src/SmtpServer/IO/PipeWriterExtensions.cs +++ b/Src/SmtpServer/IO/PipeWriterExtensions.cs @@ -7,6 +7,9 @@ namespace SmtpServer.IO { + /// + /// Pipe Writer Extensions + /// public static class PipeWriterExtensions { /// diff --git a/Src/SmtpServer/IO/PipelineException.cs b/Src/SmtpServer/IO/PipelineException.cs index 377cfd1..0749600 100644 --- a/Src/SmtpServer/IO/PipelineException.cs +++ b/Src/SmtpServer/IO/PipelineException.cs @@ -2,7 +2,13 @@ namespace SmtpServer.IO { + /// + /// Pipeline Exception + /// public abstract class PipelineException : Exception { } + /// + /// Pipeline Cancelled Exception + /// public sealed class PipelineCancelledException : PipelineException { } } diff --git a/Src/SmtpServer/ISmtpServerOptions.cs b/Src/SmtpServer/ISmtpServerOptions.cs index 8b87ca3..f253484 100644 --- a/Src/SmtpServer/ISmtpServerOptions.cs +++ b/Src/SmtpServer/ISmtpServerOptions.cs @@ -3,6 +3,9 @@ namespace SmtpServer { + /// + /// Smtp Server Options Interface + /// public interface ISmtpServerOptions { /// diff --git a/Src/SmtpServer/Mail/IMailbox.cs b/Src/SmtpServer/Mail/IMailbox.cs index 4e6af65..dbfe5c4 100644 --- a/Src/SmtpServer/Mail/IMailbox.cs +++ b/Src/SmtpServer/Mail/IMailbox.cs @@ -3,6 +3,9 @@ namespace SmtpServer.Mail { + /// + /// Mailbox Interface + /// public interface IMailbox { /// @@ -16,6 +19,9 @@ public interface IMailbox string Host { get; } } + /// + /// Mailbox Extension Methods + /// public static class MailboxExtensionMethods { /// diff --git a/Src/SmtpServer/Mail/Mailbox.cs b/Src/SmtpServer/Mail/Mailbox.cs index 5310001..2175c49 100644 --- a/Src/SmtpServer/Mail/Mailbox.cs +++ b/Src/SmtpServer/Mail/Mailbox.cs @@ -1,12 +1,13 @@ -using System; - -namespace SmtpServer.Mail +namespace SmtpServer.Mail { /// /// Mailbox /// public sealed class Mailbox : IMailbox { + /// + /// Empty Mailbox + /// public static readonly IMailbox Empty = new Mailbox(string.Empty, string.Empty); /// diff --git a/Src/SmtpServer/Net/EndPointEventArgs.cs b/Src/SmtpServer/Net/EndPointEventArgs.cs index 7c24716..0adb330 100644 --- a/Src/SmtpServer/Net/EndPointEventArgs.cs +++ b/Src/SmtpServer/Net/EndPointEventArgs.cs @@ -3,6 +3,9 @@ namespace SmtpServer.Net { + /// + /// Endpoint EventArgs + /// public sealed class EndpointEventArgs : EventArgs { /// diff --git a/Src/SmtpServer/Net/EndpointListener.cs b/Src/SmtpServer/Net/EndpointListener.cs index 6ebc4c0..160b021 100644 --- a/Src/SmtpServer/Net/EndpointListener.cs +++ b/Src/SmtpServer/Net/EndpointListener.cs @@ -6,9 +6,19 @@ namespace SmtpServer.Net { + /// + /// Endpoint Listener + /// public sealed class EndpointListener : IEndpointListener { + /// + /// EndpointListener LocalEndPoint Key + /// public const string LocalEndPointKey = "EndpointListener:LocalEndPoint"; + + /// + /// EndpointListener RemoteEndPoint Key + /// public const string RemoteEndPointKey = "EndpointListener:RemoteEndPoint"; readonly IEndpointDefinition _endpointDefinition; diff --git a/Src/SmtpServer/Net/EndpointListenerFactory.cs b/Src/SmtpServer/Net/EndpointListenerFactory.cs index da04feb..097efca 100644 --- a/Src/SmtpServer/Net/EndpointListenerFactory.cs +++ b/Src/SmtpServer/Net/EndpointListenerFactory.cs @@ -3,8 +3,14 @@ namespace SmtpServer.Net { + /// + /// Endpoint Listener Factory + /// public class EndpointListenerFactory : IEndpointListenerFactory { + /// + /// Default Endpoint Listener Factory + /// internal static readonly IEndpointListenerFactory Default = new EndpointListenerFactory(); /// @@ -17,11 +23,7 @@ public class EndpointListenerFactory : IEndpointListenerFactory /// public event EventHandler EndpointStopped; - /// - /// Create an instance of an endpoint listener for the specified endpoint definition. - /// - /// The endpoint definition to create the listener for. - /// The endpoint listener for the specified endpoint definition. + /// public virtual IEndpointListener CreateListener(IEndpointDefinition endpointDefinition) { var tcpListener = new TcpListener(endpointDefinition.Endpoint); diff --git a/Src/SmtpServer/Net/IEndpointListenerFactory.cs b/Src/SmtpServer/Net/IEndpointListenerFactory.cs index b1c1523..2c68aef 100644 --- a/Src/SmtpServer/Net/IEndpointListenerFactory.cs +++ b/Src/SmtpServer/Net/IEndpointListenerFactory.cs @@ -1,5 +1,8 @@ namespace SmtpServer.Net { + /// + /// Endpoint Listener Factory Interface + /// public interface IEndpointListenerFactory { /// diff --git a/Src/SmtpServer/Protocol/AuthCommand.cs b/Src/SmtpServer/Protocol/AuthCommand.cs index 26b1f67..6fb980f 100644 --- a/Src/SmtpServer/Protocol/AuthCommand.cs +++ b/Src/SmtpServer/Protocol/AuthCommand.cs @@ -15,6 +15,9 @@ namespace SmtpServer.Protocol /// public sealed class AuthCommand : SmtpCommand { + /// + /// Smtp Auth Command + /// public const string Command = "AUTH"; string _user; diff --git a/Src/SmtpServer/Protocol/DataCommand.cs b/Src/SmtpServer/Protocol/DataCommand.cs index 8a2a6ab..3397b1c 100644 --- a/Src/SmtpServer/Protocol/DataCommand.cs +++ b/Src/SmtpServer/Protocol/DataCommand.cs @@ -12,6 +12,9 @@ namespace SmtpServer.Protocol /// public sealed class DataCommand : SmtpCommand { + /// + /// Smtp Data Command + /// public const string Command = "DATA"; /// diff --git a/Src/SmtpServer/Protocol/EhloCommand.cs b/Src/SmtpServer/Protocol/EhloCommand.cs index f21c8d8..a9a483e 100644 --- a/Src/SmtpServer/Protocol/EhloCommand.cs +++ b/Src/SmtpServer/Protocol/EhloCommand.cs @@ -12,6 +12,9 @@ namespace SmtpServer.Protocol /// public class EhloCommand : SmtpCommand { + /// + /// Smtp Ehlo Command + /// public const string Command = "EHLO"; /// diff --git a/Src/SmtpServer/Protocol/HeloCommand.cs b/Src/SmtpServer/Protocol/HeloCommand.cs index b16366e..b28103e 100644 --- a/Src/SmtpServer/Protocol/HeloCommand.cs +++ b/Src/SmtpServer/Protocol/HeloCommand.cs @@ -9,6 +9,9 @@ namespace SmtpServer.Protocol /// public class HeloCommand : SmtpCommand { + /// + /// Smtp Helo Command + /// public const string Command = "HELO"; /// diff --git a/Src/SmtpServer/Protocol/MailCommand.cs b/Src/SmtpServer/Protocol/MailCommand.cs index 185613d..9ec7dc2 100644 --- a/Src/SmtpServer/Protocol/MailCommand.cs +++ b/Src/SmtpServer/Protocol/MailCommand.cs @@ -13,6 +13,9 @@ namespace SmtpServer.Protocol /// public sealed class MailCommand : SmtpCommand { + /// + /// Smtp Mail Command + /// public const string Command = "MAIL"; /// diff --git a/Src/SmtpServer/Protocol/NoopCommand.cs b/Src/SmtpServer/Protocol/NoopCommand.cs index 93d10b6..2b1c2b4 100644 --- a/Src/SmtpServer/Protocol/NoopCommand.cs +++ b/Src/SmtpServer/Protocol/NoopCommand.cs @@ -9,6 +9,9 @@ namespace SmtpServer.Protocol /// public sealed class NoopCommand : SmtpCommand { + /// + /// Smtp Noop Command + /// public const string Command = "NOOP"; /// diff --git a/Src/SmtpServer/Protocol/ProxyCommand.cs b/Src/SmtpServer/Protocol/ProxyCommand.cs index 407c70b..ece8daf 100644 --- a/Src/SmtpServer/Protocol/ProxyCommand.cs +++ b/Src/SmtpServer/Protocol/ProxyCommand.cs @@ -11,9 +11,19 @@ namespace SmtpServer.Protocol /// public sealed class ProxyCommand : SmtpCommand { + /// + /// Proxy Source Endpoint Key + /// public const string ProxySourceEndpointKey = "Proxy:ProxySourceEndpoint"; + + /// + /// Proxy Destination Endpoint Key + /// public const string ProxyDestinationEndpointKey = "Proxy:ProxyDestinationEndpoint"; + /// + /// Smtp Proxy Command + /// public const string Command = "PROXY"; /// diff --git a/Src/SmtpServer/Protocol/QuitCommand.cs b/Src/SmtpServer/Protocol/QuitCommand.cs index 20a600b..140ee21 100644 --- a/Src/SmtpServer/Protocol/QuitCommand.cs +++ b/Src/SmtpServer/Protocol/QuitCommand.cs @@ -11,6 +11,9 @@ namespace SmtpServer.Protocol /// public sealed class QuitCommand : SmtpCommand { + /// + /// Smtp Quit Command + /// public const string Command = "QUIT"; /// diff --git a/Src/SmtpServer/Protocol/RcptCommand.cs b/Src/SmtpServer/Protocol/RcptCommand.cs index b073904..1c1bc1b 100644 --- a/Src/SmtpServer/Protocol/RcptCommand.cs +++ b/Src/SmtpServer/Protocol/RcptCommand.cs @@ -13,6 +13,9 @@ namespace SmtpServer.Protocol /// public sealed class RcptCommand : SmtpCommand { + /// + /// Smtp Rcpt Command + /// public const string Command = "RCPT"; /// diff --git a/Src/SmtpServer/Protocol/RsetCommand.cs b/Src/SmtpServer/Protocol/RsetCommand.cs index 5c66c9e..7c50b1b 100644 --- a/Src/SmtpServer/Protocol/RsetCommand.cs +++ b/Src/SmtpServer/Protocol/RsetCommand.cs @@ -9,6 +9,9 @@ namespace SmtpServer.Protocol /// public sealed class RsetCommand : SmtpCommand { + /// + /// Smtp Rset Command + /// public const string Command = "RSET"; /// diff --git a/Src/SmtpServer/Protocol/SmtpCommandFactory.cs b/Src/SmtpServer/Protocol/SmtpCommandFactory.cs index 73f1ee9..e0c0d75 100644 --- a/Src/SmtpServer/Protocol/SmtpCommandFactory.cs +++ b/Src/SmtpServer/Protocol/SmtpCommandFactory.cs @@ -4,6 +4,9 @@ namespace SmtpServer.Protocol { + /// + /// Smtp Command Factory + /// public class SmtpCommandFactory : ISmtpCommandFactory { /// diff --git a/Src/SmtpServer/Protocol/SmtpResponse.cs b/Src/SmtpServer/Protocol/SmtpResponse.cs index f7adc04..d25867f 100644 --- a/Src/SmtpServer/Protocol/SmtpResponse.cs +++ b/Src/SmtpServer/Protocol/SmtpResponse.cs @@ -5,18 +5,69 @@ /// public class SmtpResponse { + /// + /// 250 Ok + /// public static readonly SmtpResponse Ok = new SmtpResponse(SmtpReplyCode.Ok, "Ok"); + + /// + /// 220 ServiceReady + /// public static readonly SmtpResponse ServiceReady = new SmtpResponse(SmtpReplyCode.ServiceReady, "ready when you are"); + + /// + /// 550 MailboxUnavailable + /// public static readonly SmtpResponse MailboxUnavailable = new SmtpResponse(SmtpReplyCode.MailboxUnavailable, "mailbox unavailable"); + + /// + /// 553 MailboxNameNotAllowed + /// public static readonly SmtpResponse MailboxNameNotAllowed = new SmtpResponse(SmtpReplyCode.MailboxNameNotAllowed, "mailbox name not allowed"); + + /// + /// 221 ServiceClosingTransmissionChannel + /// public static readonly SmtpResponse ServiceClosingTransmissionChannel = new SmtpResponse(SmtpReplyCode.ServiceClosingTransmissionChannel, "bye"); + + /// + /// 501 SyntaxError + /// public static readonly SmtpResponse SyntaxError = new SmtpResponse(SmtpReplyCode.SyntaxError, "syntax error"); + + /// + /// 552 SizeLimitExceeded + /// public static readonly SmtpResponse SizeLimitExceeded = new SmtpResponse(SmtpReplyCode.SizeLimitExceeded, "size limit exceeded"); + + /// + /// 554 TransactionFailed + /// public static readonly SmtpResponse NoValidRecipientsGiven = new SmtpResponse(SmtpReplyCode.TransactionFailed, "no valid recipients given"); + + /// + /// 535 AuthenticationFailed + /// public static readonly SmtpResponse AuthenticationFailed = new SmtpResponse(SmtpReplyCode.AuthenticationFailed, "authentication failed"); + + /// + /// 235 AuthenticationSuccessful + /// public static readonly SmtpResponse AuthenticationSuccessful = new SmtpResponse(SmtpReplyCode.AuthenticationSuccessful, "go ahead"); + + /// + /// 554 TransactionFailed + /// public static readonly SmtpResponse TransactionFailed = new SmtpResponse(SmtpReplyCode.TransactionFailed); + + /// + /// 503 BadSequence + /// public static readonly SmtpResponse BadSequence = new SmtpResponse(SmtpReplyCode.BadSequence, "bad sequence of commands"); + + /// + /// 530 AuthenticationRequired + /// public static readonly SmtpResponse AuthenticationRequired = new SmtpResponse(SmtpReplyCode.AuthenticationRequired, "authentication required"); /// diff --git a/Src/SmtpServer/Protocol/StartTlsCommand.cs b/Src/SmtpServer/Protocol/StartTlsCommand.cs index aafaabc..e09ba2a 100644 --- a/Src/SmtpServer/Protocol/StartTlsCommand.cs +++ b/Src/SmtpServer/Protocol/StartTlsCommand.cs @@ -9,6 +9,9 @@ namespace SmtpServer.Protocol /// public sealed class StartTlsCommand : SmtpCommand { + /// + /// Smtp Start Tls Command + /// public const string Command = "STARTTLS"; /// diff --git a/Src/SmtpServer/SessionEventArgs.cs b/Src/SmtpServer/SessionEventArgs.cs index 2581d49..f67be1a 100644 --- a/Src/SmtpServer/SessionEventArgs.cs +++ b/Src/SmtpServer/SessionEventArgs.cs @@ -2,6 +2,9 @@ namespace SmtpServer { + /// + /// Session EventArgs + /// public class SessionEventArgs : EventArgs { /// diff --git a/Src/SmtpServer/SessionFaultedEventArgs.cs b/Src/SmtpServer/SessionFaultedEventArgs.cs index 82a90d3..de40335 100644 --- a/Src/SmtpServer/SessionFaultedEventArgs.cs +++ b/Src/SmtpServer/SessionFaultedEventArgs.cs @@ -2,6 +2,9 @@ namespace SmtpServer { + /// + /// Session Faulted EventArgs + /// public class SessionFaultedEventArgs : SessionEventArgs { /// diff --git a/Src/SmtpServer/SmtpCommandEventArgs.cs b/Src/SmtpServer/SmtpCommandEventArgs.cs index 87f303d..cd15e67 100644 --- a/Src/SmtpServer/SmtpCommandEventArgs.cs +++ b/Src/SmtpServer/SmtpCommandEventArgs.cs @@ -2,6 +2,9 @@ namespace SmtpServer { + /// + /// Smtp Command EventArgs + /// public sealed class SmtpCommandEventArgs : SessionEventArgs { /// diff --git a/Src/SmtpServer/SmtpResponseExceptionEventArgs.cs b/Src/SmtpServer/SmtpResponseExceptionEventArgs.cs index 2dc0634..261e24a 100644 --- a/Src/SmtpServer/SmtpResponseExceptionEventArgs.cs +++ b/Src/SmtpServer/SmtpResponseExceptionEventArgs.cs @@ -2,6 +2,9 @@ namespace SmtpServer { + /// + /// Smtp Response Exception EventArgs + /// public sealed class SmtpResponseExceptionEventArgs : SessionEventArgs { /// diff --git a/Src/SmtpServer/SmtpServer.cs b/Src/SmtpServer/SmtpServer.cs index f46c034..d4c4a75 100644 --- a/Src/SmtpServer/SmtpServer.cs +++ b/Src/SmtpServer/SmtpServer.cs @@ -7,6 +7,9 @@ namespace SmtpServer { + /// + /// Smtp Server + /// public class SmtpServer { /// diff --git a/Src/SmtpServer/SmtpServerOptionsBuilder.cs b/Src/SmtpServer/SmtpServerOptionsBuilder.cs index 142cd5a..322a565 100644 --- a/Src/SmtpServer/SmtpServerOptionsBuilder.cs +++ b/Src/SmtpServer/SmtpServerOptionsBuilder.cs @@ -3,6 +3,9 @@ namespace SmtpServer { + /// + /// Smtp Server Options Builder + /// public sealed class SmtpServerOptionsBuilder { readonly List> _setters = new List>(); diff --git a/Src/SmtpServer/Storage/DelegatingMailboxFilter.cs b/Src/SmtpServer/Storage/DelegatingMailboxFilter.cs index 3974094..0dd6377 100644 --- a/Src/SmtpServer/Storage/DelegatingMailboxFilter.cs +++ b/Src/SmtpServer/Storage/DelegatingMailboxFilter.cs @@ -5,6 +5,9 @@ namespace SmtpServer.Storage { + /// + /// Delegating Mailbox Filter + /// public sealed class DelegatingMailboxFilter : MailboxFilter { static readonly Func EmptyAcceptDelegate = (context, @from) => true; diff --git a/Src/SmtpServer/Storage/IMailboxFilterFactory.cs b/Src/SmtpServer/Storage/IMailboxFilterFactory.cs index a2845d6..0bf495b 100644 --- a/Src/SmtpServer/Storage/IMailboxFilterFactory.cs +++ b/Src/SmtpServer/Storage/IMailboxFilterFactory.cs @@ -2,5 +2,8 @@ namespace SmtpServer.Storage { + /// + /// Mailbox Filter Factory Interface + /// public interface IMailboxFilterFactory : ISessionContextInstanceFactory { } } diff --git a/Src/SmtpServer/Storage/IMessageStore.cs b/Src/SmtpServer/Storage/IMessageStore.cs index 62b7743..5381493 100644 --- a/Src/SmtpServer/Storage/IMessageStore.cs +++ b/Src/SmtpServer/Storage/IMessageStore.cs @@ -5,6 +5,9 @@ namespace SmtpServer.Storage { + /// + /// Message Store Interface + /// public interface IMessageStore { /// diff --git a/Src/SmtpServer/Storage/IMessageStoreFactory.cs b/Src/SmtpServer/Storage/IMessageStoreFactory.cs index a69bc01..e893991 100644 --- a/Src/SmtpServer/Storage/IMessageStoreFactory.cs +++ b/Src/SmtpServer/Storage/IMessageStoreFactory.cs @@ -2,5 +2,8 @@ namespace SmtpServer.Storage { + /// + /// Message Store Factory Interface + /// public interface IMessageStoreFactory : ISessionContextInstanceFactory { } } diff --git a/Src/SmtpServer/Storage/MailboxFilter.cs b/Src/SmtpServer/Storage/MailboxFilter.cs index a8c3069..940fe52 100644 --- a/Src/SmtpServer/Storage/MailboxFilter.cs +++ b/Src/SmtpServer/Storage/MailboxFilter.cs @@ -4,18 +4,17 @@ namespace SmtpServer.Storage { + /// + /// Mailbox Filter + /// public abstract class MailboxFilter : IMailboxFilter { - public static readonly IMailboxFilter Default = new DefaultMailboxFilter(); - /// - /// Returns a value indicating whether the given mailbox can be accepted as a sender. + /// Default Mailbox Filter /// - /// The session context. - /// The mailbox to test. - /// The estimated message size to accept. - /// The cancellation token. - /// Returns true if the mailbox is accepted, false if not. + public static readonly IMailboxFilter Default = new DefaultMailboxFilter(); + + /// public virtual Task CanAcceptFromAsync( ISessionContext context, IMailbox @from, @@ -25,14 +24,7 @@ public virtual Task CanAcceptFromAsync( return Task.FromResult(true); } - /// - /// Returns a value indicating whether the given mailbox can be accepted as a recipient to the given sender. - /// - /// The session context. - /// The mailbox to test. - /// The sender's mailbox. - /// The cancellation token. - /// Returns true if the mailbox can be delivered to, false if not. + /// public virtual Task CanDeliverToAsync( ISessionContext context, IMailbox to, diff --git a/Src/SmtpServer/Storage/MessageStore.cs b/Src/SmtpServer/Storage/MessageStore.cs index 4efe06e..9af44d4 100644 --- a/Src/SmtpServer/Storage/MessageStore.cs +++ b/Src/SmtpServer/Storage/MessageStore.cs @@ -10,28 +10,17 @@ namespace SmtpServer.Storage /// public abstract class MessageStore : IMessageStore { - public static readonly IMessageStore Default = new DefaultMessageStore(); - /// - /// Save the given message to the underlying storage system. + /// Default Message Store /// - /// The session context. - /// The SMTP message transaction to store. - /// The buffer that contains the message content. - /// The cancellation token. - /// The response code to return that indicates the result of the message being saved. + public static readonly IMessageStore Default = new DefaultMessageStore(); + + /// public abstract Task SaveAsync(ISessionContext context, IMessageTransaction transaction, ReadOnlySequence buffer, CancellationToken cancellationToken); sealed class DefaultMessageStore : MessageStore { - /// - /// Save the given message to the underlying storage system. - /// - /// The session context. - /// The buffer that contains the message content. - /// The SMTP message transaction to store. - /// The cancellation token. - /// The response code to return that indicates the result of the message being saved. + /// public override Task SaveAsync(ISessionContext context, IMessageTransaction transaction, ReadOnlySequence buffer, CancellationToken cancellationToken) { return Task.FromResult(SmtpResponse.Ok); diff --git a/Src/SmtpServer/Text/Token.cs b/Src/SmtpServer/Text/Token.cs index a94df1c..534c618 100644 --- a/Src/SmtpServer/Text/Token.cs +++ b/Src/SmtpServer/Text/Token.cs @@ -4,6 +4,9 @@ namespace SmtpServer.Text { + /// + /// Token + /// [DebuggerDisplay("[{Kind}] {Text}")] public readonly ref struct Token { diff --git a/Src/SmtpServer/Text/TokenKind.cs b/Src/SmtpServer/Text/TokenKind.cs index 4ed8bac..fd9abcb 100644 --- a/Src/SmtpServer/Text/TokenKind.cs +++ b/Src/SmtpServer/Text/TokenKind.cs @@ -1,5 +1,8 @@ namespace SmtpServer.Text { + /// + /// Token Kind + /// public enum TokenKind { /// diff --git a/Src/SmtpServer/Text/TokenReader.cs b/Src/SmtpServer/Text/TokenReader.cs index 9a56448..1a45c5d 100644 --- a/Src/SmtpServer/Text/TokenReader.cs +++ b/Src/SmtpServer/Text/TokenReader.cs @@ -3,6 +3,9 @@ namespace SmtpServer.Text { + /// + /// Token Reader + /// public ref struct TokenReader { ref struct CheckpointState diff --git a/Src/SmtpServer/Tracing/TracingSmtpCommandVisitor.cs b/Src/SmtpServer/Tracing/TracingSmtpCommandVisitor.cs index b645a7f..1e2317c 100644 --- a/Src/SmtpServer/Tracing/TracingSmtpCommandVisitor.cs +++ b/Src/SmtpServer/Tracing/TracingSmtpCommandVisitor.cs @@ -6,6 +6,9 @@ namespace SmtpServer.Tracing { + /// + /// Tracing Smtp Command Visitor + /// public sealed class TracingSmtpCommandVisitor : SmtpCommandVisitor { readonly TextWriter _output;