EmailResult Class

Summary

The result of EmailProvider.
Assembly
Cake.Email.dll
Namespace
Cake.Email
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["EmailResult"] class Type type-node

Syntax

public sealed class EmailResult

Attributes

Type Description
CakeAliasCategoryAttribute

Constructors

Name Summary
EmailResult(bool, string, string) Initializes a new instance of the EmailResult class.

Properties

Name Value Summary
Error string
Gets the Error message on failure.
Ok bool
Gets a value indicating whether success or failure, Error for info on failure.
TimeStamp string
Gets the Timestamp of the message.

Methods

Name Value Summary
ToString() string
Convert this instance of value to a string representation.

Extension Methods

Name Value Summary
Dump<EmailResult>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<EmailResult>(EmailResult[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<EmailResult>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<EmailResult>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<EmailResult>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<EmailResult>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin