Search Results for

    Show / Hide Table of Contents
    View Source

    Class NotificationExtensions

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

    Methods

    View Source

    WithState<T>(T, Nullable<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
    System.Nullable<IDictionary<System.String, System.Object>> state
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    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
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • WithState<T>(T, Nullable<IDictionary<String, Object>>)
      • WithStateFrom<T, TSource>(T, TSource)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX