PushNotification Class

Namespace:
Weavy.Core.Models
Assembly:
Weavy.Core.dll

An object representing a push notification (to mobile devices).

public class PushNotification
Inheritance:
System.Object → PushNotification

Constructors

PushNotification()

Properties

Badge Gets or sets a number to apply to the app badge.
Destination Gets or sets a value indicating which app the push notification should be sent to.
Guid Gets or sets the Guid of the notification receiver.
IsSilent Gets or sets a value indicating whether the push notification should be silent, i.e. only update the badge.
Message Gets or sets the message text to send.
Url Gets or sets the url where clicking the notification should take you.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(Object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(Object, Nullable, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(Object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.