C# Класс SendGrid.Net.Mail.Attachment

Наследование: AttachmentBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
InitName ( string fileName ) : void

Описание методов

Attachment() публичный Метод

public Attachment ( Stream contentStream, ContentType contentType ) : System
contentStream Stream
contentType SendGrid.Net.Mime.ContentType
Результат System

Attachment() публичный Метод

public Attachment ( Stream contentStream, string name ) : System
contentStream Stream
name string
Результат System

Attachment() публичный Метод

public Attachment ( Stream contentStream, string name, string mediaType ) : System
contentStream Stream
name string
mediaType string
Результат System

Attachment() публичный Метод

public Attachment ( string fileName ) : System
fileName string
Результат System

Attachment() публичный Метод

public Attachment ( string fileName, ContentType contentType ) : System
fileName string
contentType SendGrid.Net.Mime.ContentType
Результат System

Attachment() публичный Метод

public Attachment ( string fileName, string mediaType ) : System
fileName string
mediaType string
Результат System

CreateAttachmentFromString() публичный статический Метод

public static CreateAttachmentFromString ( string content, ContentType contentType ) : Attachment
content string
contentType SendGrid.Net.Mime.ContentType
Результат Attachment

CreateAttachmentFromString() публичный статический Метод

public static CreateAttachmentFromString ( string content, string name ) : Attachment
content string
name string
Результат Attachment

CreateAttachmentFromString() публичный статический Метод

public static CreateAttachmentFromString ( string content, string name, Encoding contentEncoding, string mediaType ) : Attachment
content string
name string
contentEncoding System.Text.Encoding
mediaType string
Результат Attachment