Click or drag to resize

AttachmentReplacerConfiguration Class

Represents configuration for attachments' replacing method.
Inheritance Hierarchy
SystemObject
  Limilabs.MailAttachmentReplacerConfiguration

Namespace: Limilabs.Mail
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public class AttachmentReplacerConfiguration

The AttachmentReplacerConfiguration type exposes the following members.

Constructors
 NameDescription
Public methodAttachmentReplacerConfiguration Creates new AttachmentReplacerConfiguration object with default settings.
Top
Properties
 NameDescription
Public propertyNoFileNameTemplate Gets or sets the template for attachments that have no name specified. You can use [FileName], [Size] and [Tag] placeholders.
Public propertyReplaceAlternatives Gets or sets the value indicating, if Alternatives elements should also be replaced. Default is true.
Public propertyReplaceNonVisuals Gets or sets the value indicating, if NonVisuals elements should be replaced. Default is true.
Public propertyReplaceVisuals Gets or sets the value indicating, if Visuals elements should also be replaced. Default is true.
Public propertyShouldReplace Gets or sets the callback that is invoked for all canditates to be replaced. Default callback return true.
Public propertyTag Gets or sets tag generating function. You can use this property to generate unique id for replaced attachment, that can be used in Template or NoFileNameTemplate templates using [Tag] placeholder.
Public propertyTemplate Gets or sets the template for attachments that have name specified. You can use [FileName], [Size] and [Tag] placeholders.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also