Attachment |
The AttachmentReplacerConfiguration type exposes the following members.
| 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. |