Interface INotificationTypeFactory
Namespace: LemonEdge.API.Core.Notifications
Assembly: LemonEdge.API.dll
Syntax
public interface INotificationTypeFactory
Methods
GetAllNotificationTypes()
Returns all INotificationType implementations registered in the system
Declaration
IEnumerable<INotificationType> GetAllNotificationTypes()
Returns
Type | Description |
---|---|
IEnumerable<INotificationType> | All INotificationType implementations registered in the system |
GetNotificationType(Guid)
Given a UniqueNotificationTypeID returns the appropriate INotificationType implementation.
The system unique notification ids are available from SystemNotificationTypeIDs
Declaration
INotificationType GetNotificationType(Guid uniqueID)
Parameters
Type | Name | Description |
---|---|---|
Guid | uniqueID | The unique id of a INotificationType |
Returns
Type | Description |
---|---|
INotificationType | The appropriate INotificationType implementation corrosponding to the unique id |