C# Class SendGrid.Net.Mail.Attachment

Inheritance: AttachmentBase
Afficher le fichier Open project: advancedrei/sendgridplus-csharp Class Usage Examples

Méthodes publiques

Méthode Description
Attachment ( Stream contentStream, ContentType contentType ) : System
Attachment ( Stream contentStream, string name ) : System
Attachment ( Stream contentStream, string name, string mediaType ) : System
Attachment ( string fileName ) : System
Attachment ( string fileName, ContentType contentType ) : System
Attachment ( string fileName, string mediaType ) : System
CreateAttachmentFromString ( string content, ContentType contentType ) : Attachment
CreateAttachmentFromString ( string content, string name ) : Attachment
CreateAttachmentFromString ( string content, string name, Encoding contentEncoding, string mediaType ) : Attachment

Private Methods

Méthode Description
InitName ( string fileName ) : void

Method Details

Attachment() public méthode

public Attachment ( Stream contentStream, ContentType contentType ) : System
contentStream Stream
contentType SendGrid.Net.Mime.ContentType
Résultat System

Attachment() public méthode

public Attachment ( Stream contentStream, string name ) : System
contentStream Stream
name string
Résultat System

Attachment() public méthode

public Attachment ( Stream contentStream, string name, string mediaType ) : System
contentStream Stream
name string
mediaType string
Résultat System

Attachment() public méthode

public Attachment ( string fileName ) : System
fileName string
Résultat System

Attachment() public méthode

public Attachment ( string fileName, ContentType contentType ) : System
fileName string
contentType SendGrid.Net.Mime.ContentType
Résultat System

Attachment() public méthode

public Attachment ( string fileName, string mediaType ) : System
fileName string
mediaType string
Résultat System

CreateAttachmentFromString() public static méthode

public static CreateAttachmentFromString ( string content, ContentType contentType ) : Attachment
content string
contentType SendGrid.Net.Mime.ContentType
Résultat Attachment

CreateAttachmentFromString() public static méthode

public static CreateAttachmentFromString ( string content, string name ) : Attachment
content string
name string
Résultat Attachment

CreateAttachmentFromString() public static méthode

public static CreateAttachmentFromString ( string content, string name, Encoding contentEncoding, string mediaType ) : Attachment
content string
name string
contentEncoding System.Text.Encoding
mediaType string
Résultat Attachment