Class SmtpClientFactory
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
System.Object
SmtpClientFactory
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Notification.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public class SmtpClientFactory
Constructors
SmtpClientFactory()
Declaration
public SmtpClientFactory()
SmtpClientFactory(Func<ISmtpClient>)
Declaration
public SmtpClientFactory(Func<ISmtpClient> instanceFactory)
Parameters
Type | Name | Description |
---|---|---|
System.Func<ISmtpClient> | instanceFactory |
Properties
StaticFactory
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. This is exposed mainly for testing purposes.
Declaration
public static Func<ISmtpClient> StaticFactory { get; set; }
Property Value
Type | Description |
---|---|
System.Func<ISmtpClient> |
Methods
GetSmtpClient()
Declaration
public virtual ISmtpClient GetSmtpClient()
Returns
Type | Description |
---|---|
ISmtpClient |