Search Results for

    Show / Hide Table of Contents

    Class NotificationTypeFactory

    A factory class for creating instances of the INotificationType implementations

    Inheritance
    object
    NotificationTypeFactory
    Implements
    INotificationTypeFactory
    IHaveAddInListeners
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Core.Notifications
    Assembly: LemonEdge.API.dll
    Syntax
    public class NotificationTypeFactory : INotificationTypeFactory, IHaveAddInListeners

    Constructors

    NotificationTypeFactory(IFactoryInjector, IReflectionHelper, IDomainContextEventHandler)

    Declaration
    public NotificationTypeFactory(IFactoryInjector factoryInjector, IReflectionHelper reflectionHelper, IDomainContextEventHandler eventHandler)
    Parameters
    Type Name Description
    IFactoryInjector factoryInjector
    IReflectionHelper reflectionHelper
    IDomainContextEventHandler eventHandler

    Methods

    AddAddInListeners()

    Adds listeners.

    Declaration
    public void AddAddInListeners()

    GetAllNotificationTypes()

    Returns all INotificationType implementations registered in the system

    Declaration
    public 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
    public 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

    RemoveAddInListeners()

    Removes listeners.

    Declaration
    public void RemoveAddInListeners()

    Implements

    INotificationTypeFactory
    IHaveAddInListeners

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)

    See Also

    INotificationType
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.