Search Results for

    Show / Hide Table of Contents

    Class NotificationTypeFactory

    A factory class for creating instances of the INotificationType implementations

    Inheritance
    System.Object
    NotificationTypeFactory
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.API.Notifications
    Assembly: API.dll
    Syntax
    public class NotificationTypeFactory

    Methods

    GetAllNotificationTypes()

    Returns all INotificationType implementations registered in the system

    Declaration
    public static IEnumerable<INotificationType> GetAllNotificationTypes()
    Returns
    Type Description
    System.Collections.Generic.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
    public static INotificationType GetNotificationType(Guid uniqueID)
    Parameters
    Type Name Description
    System.Guid uniqueID

    The unique id of a INotificationType

    Returns
    Type Description
    INotificationType

    The appropriate INotificationType implementation corrosponding to the unique id

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)

    See Also

    INotificationType
    In This Article
    Back to top © LemonEdge Technology. All rights reserved.