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.23341.1754
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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also