View Source
Class NotificationExtensions
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 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 Parameters