CakeMailResult Class

Summary

The result of CakeMailProvider API post.
Assembly
Cake.CakeMail.dll
Namespace
Cake.CakeMail
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CakeMailResult"] class Type type-node

Syntax

public sealed class CakeMailResult

Attributes

Type Description
CakeAliasCategoryAttribute

Constructors

Name Summary
CakeMailResult(bool, string, string) Initializes a new instance of the CakeMailResult 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<CakeMailResult>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<CakeMailResult>(CakeMailResult[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<CakeMailResult>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<CakeMailResult>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<CakeMailResult>(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<CakeMailResult>(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