SendGridSettings Class

Summary

Class that lets you override default API settings.
Assembly
Cake.SendGrid.dll
Namespace
Cake.SendGrid.Email
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["SendGridSettings"] class Type type-node

Syntax

public sealed class SendGridSettings

Attributes

Type Description
CakeAliasCategoryAttribute

Constructors

Name Summary
SendGridSettings()

Properties

Name Value Summary
ApiKey string
Gets or sets the ApiKey used for authentication.
ThrowOnFail Nullable<bool>
Gets or sets the Optional flag for if should throw exception on failure.

Extension Methods

Name Value Summary
Dump<SendGridSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<SendGridSettings>(SendGridSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<SendGridSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<SendGridSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<SendGridSettings>(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<SendGridSettings>(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
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin