Class TicketMessageHelper
Inheritance
TicketMessageHelper
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public static class TicketMessageHelper
Methods
FindAndInsertInlineAttachmentsAsync(string, int, CancellationToken)
Declaration
public static Task FindAndInsertInlineAttachmentsAsync(string content, int ticketMessageId, CancellationToken cancellationToken = default)
Parameters
Returns
GetDefaultMessageContentAsync(int, MessageActionType, int, int, bool, CancellationToken)
Declaration
public static Task<TicketMessageContent> GetDefaultMessageContentAsync(int ticketId, MessageActionType messageActionType, int ticketMessageId, int ticketTypeId = 0, bool skipSignature = false, CancellationToken cancellationToken = default)
Parameters
Returns
Html2Text(string)
Create a plain text version of the html, suitable for email
Declaration
public static string Html2Text(string content)
Parameters
Type |
Name |
Description |
string |
content |
The html version
|
Returns
Type |
Description |
string |
The plain text version
|