Search Results for

    Show / Hide Table of Contents

    Class NotificationController

    Inheritance
    System.Object
    NotificationController
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Framework.Core
    Assembly: Simplic.Framework.Base.dll
    Syntax
    public class NotificationController

    Constructors

    | Improve this Doc View Source

    NotificationController()

    Constructor

    Declaration
    public NotificationController()

    Methods

    | Improve this Doc View Source

    CloseNotification(Int32)

    Close a notification by its id

    Declaration
    public static void CloseNotification(int NotificationId)
    Parameters
    Type Name Description
    System.Int32 NotificationId

    Ident of a notification

    | Improve this Doc View Source

    CreateGroupNotification(Int32, Notification)

    Create new notification and display them for all users in a group

    Declaration
    public static void CreateGroupNotification(int GroupId, Notification Notification)
    Parameters
    Type Name Description
    System.Int32 GroupId

    Group Id

    Notification Notification

    Instance of a Notification-Object

    | Improve this Doc View Source

    CreateUserNotification(Int32, Notification)

    Create new notification

    Declaration
    public static void CreateUserNotification(int UserId, Notification Notification)
    Parameters
    Type Name Description
    System.Int32 UserId

    User Id

    Notification Notification

    Instance of a Notification-Object

    | Improve this Doc View Source

    GetOpenNotification()

    Get all Notification for the current user

    Declaration
    public static IList<Notification> GetOpenNotification()
    Returns
    Type Description
    System.Collections.Generic.IList<Notification>

    List of Notifications Status = Open)

    | Improve this Doc View Source

    GetOpenNotification(Int32)

    Get all Notification for a given user

    Declaration
    public static IList<Notification> GetOpenNotification(int UserId)
    Parameters
    Type Name Description
    System.Int32 UserId

    User Id

    Returns
    Type Description
    System.Collections.Generic.IList<Notification>

    List of Notifications Status = Open)

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx