Show / Hide Table of Contents

Class MailKitEmailAttachment

A mail kit email attachment.

Inheritance
System.Object
MailKitEmailAttachment
Implements
IEmailAttachment
IIndexable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Mail.Message
Assembly: Kephas.Mail.MailKit.dll
Syntax
public class MailKitEmailAttachment : IEmailAttachment, IIndexable

Properties

| Improve this Doc View Source

Content

Gets or sets the attachment content.

Declaration
public Stream Content { get; set; }
Property Value
Type Description
System.IO.Stream

The attachment content.

| Improve this Doc View Source

Item[String]

Convenience method that provides a string Indexer to the Properties collection AND the strongly typed properties of the object by name. // dynamic exp["Address"] = "112 nowhere lane"; // strong var name = exp["StronglyTypedProperty"] as string;.

Declaration
public object this[string key] { get; set; }
Parameters
Type Name Description
System.String key

The key.

Property Value
Type Description
System.Object

The System.Object identified by the key.

| Improve this Doc View Source

Name

Gets or sets the attachment name.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The name.

Implements

IEmailAttachment
IIndexable

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX