AttachmentReplacerConfiguration Class |
Namespace: Limilabs.Mail
The AttachmentReplacerConfiguration type exposes the following members.
Name | Description | |
---|---|---|
AttachmentReplacerConfiguration |
Creates new AttachmentReplacerConfiguration object with default settings.
|
Name | Description | |
---|---|---|
NoFileNameTemplate |
Gets or sets the template for attachments that have no name specified.
You can use [FileName], [Size] and [Tag] placeholders.
| |
ReplaceAlternatives |
Gets or sets the value indicating, if Alternatives elements should also be replaced. Default is true.
| |
ReplaceNonVisuals |
Gets or sets the value indicating, if NonVisuals elements should be replaced. Default is true.
| |
ReplaceVisuals |
Gets or sets the value indicating, if Visuals elements should also be replaced. Default is true.
| |
ShouldReplace |
Gets or sets the callback that is invoked for all canditates to be replaced. Default callback return true.
| |
Tag |
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.
| |
Template |
Gets or sets the template for attachments that have name specified.
You can use [FileName], [Size] and [Tag] placeholders.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |