Table of Contents

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 LogEventNotification

The LogEventNotification for delete.

Delete(string)

Deletes the LogEventNotification.

public void Delete(string systemName)

Parameters

systemName string

The 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 string

The system name.

Returns

LogEventNotification

The LogEventNotification.

Save(LogEventNotification)

public void Save(LogEventNotification item)

Parameters

item LogEventNotification

The LogEventNotification for save.

SplitEmails(LogEventNotification)

Splits the emails from string to collection.

public IEnumerable<string> SplitEmails(LogEventNotification item)

Parameters

item LogEventNotification

The 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 string

The system name.

Returns

bool

true, if system name is unique and valid, otherwise false.

To top