SendGridTarget(ISendGridSender, ISecretProvider, String) Constructor

Creates a new instance of SendGridTarget with a specified ISendGridSender implementation.

Definition

Namespace: InnerDrive.Logging
Assembly: InnerDrive.Logging (in InnerDrive.Logging.dll) Version: 5.2.9017.0
C#
public SendGridTarget(
	ISendGridSender sender,
	ISecretProvider? secretProvider = null,
	string? apiKey = null
)

Parameters

sender  ISendGridSender
The ISendGridSender to use
secretProvider  ISecretProvider  (Optional)
The IConfiguration to use
apiKey  String  (Optional)
The API key to use

See Also