Class LogEventNotificationService
- Namespace
- Dynamicweb.Logging.LogEvents
- Assembly
- Dynamicweb.Core.dll
public class LogEventNotificationService
- Inheritance
-
LogEventNotificationService
- Inherited Members
Methods
ClearCache()
Clears the cache.
public void ClearCache()
Delete(LogEventNotification)
Deletes the LogEventNotification.
public void Delete(LogEventNotification item)
Parameters
item
LogEventNotificationThe LogEventNotification for delete.
Delete(string)
Deletes the LogEventNotification.
public void Delete(string systemName)
Parameters
systemName
stringThe LogEventNotification system name.
GetAll()
Gets all LogEventNotification available in the solution.
public IEnumerable<LogEventNotification> GetAll()
Returns
- IEnumerable<LogEventNotification>
The collection of the LogEventNotification.
GetBySystemName(string)
Gets the LogEventNotification by system name.
public LogEventNotification? GetBySystemName(string systemName)
Parameters
systemName
stringThe system name.
Returns
Save(LogEventNotification)
Saves the LogEventNotification.
public void Save(LogEventNotification item)
Parameters
item
LogEventNotificationThe LogEventNotification for save.
SplitEmails(LogEventNotification)
Splits the emails from string to collection.
public IEnumerable<string> SplitEmails(LogEventNotification item)
Parameters
item
LogEventNotificationThe LogEventNotification.
Returns
- IEnumerable<string>
A collection of separated emails.
ValidateSystemName(string)
Checks if the specified system name is unique and have no invalid characters.
public bool ValidateSystemName(string systemName)
Parameters
systemName
stringThe system name.
Returns
- bool
true
, if system name is unique and valid, otherwisefalse
.