Search Results for

    Show / Hide Table of Contents
    View Source

    Class NotificationExtensions

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public static class NotificationExtensions

    Methods

    View Source

    WithStateFrom<T, TSource>(T, TSource)

    Declaration
    public static T WithStateFrom<T, TSource>(this T notification, TSource source) where T : IStatefulNotification where TSource : IStatefulNotification
    Parameters
    Type Name Description
    T notification
    TSource source
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    TSource
    View Source

    WithState<T>(T, IDictionary<string, object?>?)

    Declaration
    public static T WithState<T>(this T notification, IDictionary<string, object?>? state) where T : IStatefulNotification
    Parameters
    Type Name Description
    T notification
    IDictionary<string, object> state
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX