Mention Class

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

A class representing a @mention.

public class Mention
Inheritance:
System.Object → Mention

Constructors

Mention()

Properties

AttachedTo Gets or sets a reference to the entity where the mentioned is attached, i.e. Space, User etc.
Id Gets the id of the mention.
Mentioned Gets a reference to the User or Space that was mentioned.
MentionedAt Gets the time the user/space was mentioned.
MentionedById Gets the id of the user that mentioned the user/group.

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, Formatting?, 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.