Class SendGridInvitationDeliveryServiceCollectionExtensions
Namespace: Cephalon.MultiTenancy.Governance.SendGridDelivery.Hosting
Assembly: Cephalon.MultiTenancy.Governance.SendGridDelivery.dll
Adds SendGrid Mail Send API invitation delivery services to a Cephalon host.
public static class SendGridInvitationDeliveryServiceCollectionExtensionsInheritance
Section titled “Inheritance”object ← SendGridInvitationDeliveryServiceCollectionExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Fields
Section titled “Fields”HttpClientName
Section titled “ HttpClientName”The named HTTP client used by the SendGrid invitation delivery client.
public const string HttpClientName = "Cephalon.MultiTenancy.Governance.SendGridDelivery"Field Value
Section titled “Field Value”Methods
Section titled “Methods”AddCephalonSendGridInvitationDelivery(IServiceCollection, IConfiguration, Action<SendGridInvitationDeliveryOptions>?)
Section titled “ AddCephalonSendGridInvitationDelivery(IServiceCollection, IConfiguration, Action<SendGridInvitationDeliveryOptions>?)”Adds SendGrid invitation delivery using configuration as the primary source of Mail Send API settings.
public static IServiceCollection AddCephalonSendGridInvitationDelivery(this IServiceCollection services, IConfiguration configuration, Action<SendGridInvitationDeliveryOptions>? configure = null)Parameters
Section titled “Parameters”services IServiceCollection
The target service collection.
configuration IConfiguration
The application configuration root.
configure Action<SendGridInvitationDeliveryOptions>?
An optional callback that can extend or override the configuration-driven setup.
Returns
Section titled “Returns”The same service collection for further registration.
AddCephalonSendGridInvitationDelivery(IServiceCollection, Action<SendGridInvitationDeliveryOptions>?)
Section titled “ AddCephalonSendGridInvitationDelivery(IServiceCollection, Action<SendGridInvitationDeliveryOptions>?)”Adds SendGrid invitation delivery using code-first configuration.
public static IServiceCollection AddCephalonSendGridInvitationDelivery(this IServiceCollection services, Action<SendGridInvitationDeliveryOptions>? configure = null)Parameters
Section titled “Parameters”services IServiceCollection
The target service collection.
configure Action<SendGridInvitationDeliveryOptions>?
An optional callback that configures the SendGrid invitation delivery sender.
Returns
Section titled “Returns”The same service collection for further registration.