Class Notification
Two notifications are equal if their Urns are the same.
Assembly: MetaClient.dll
[PublicAPI]
public abstract class Notification : IEquatable<Notification>
Constructors
Declaration
protected Notification([NotNull] string urn, [NotNull] string message, NotificationPriority priority, [CanBeNull] string action1 = null, [CanBeNull] string action2 = null)
Parameters
Fields
Declaration
[CanBeNull]
public readonly string Action1
Field Value
Declaration
[CanBeNull]
public readonly string Action2
Field Value
Declaration
[NotNull]
public readonly string Message
Field Value
Declaration
public readonly NotificationPriority Priority
Field Value
Declaration
[NotNull]
public readonly string Urn
Field Value
Methods
Declaration
public bool Equals(Notification other)
Parameters
Returns
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Declaration
public override int GetHashCode()
Returns
Overrides
Declaration
public override string ToString()
Returns
Overrides
Operators
Declaration
public static bool operator ==(Notification left, Notification right)
Parameters
Returns
Declaration
public static bool operator !=(Notification left, Notification right)
Parameters
Returns
Implements