Show / Hide Table of Contents

Class Message

Inheritance
System.Object
Message
Implements
IMultiTenant
Namespace: Volo.Chat.Messages
Assembly: Volo.Chat.Domain.dll
Syntax
public class Message : CreationAuditedAggregateRoot<Guid>, IMultiTenant

Constructors

Message()

Declaration
protected Message()

Message(Guid, String, Nullable<Guid>)

Declaration
public Message(Guid id, string text, Guid? tenantId = null)
Parameters
Type Name Description
Guid id
System.String text
System.Nullable<Guid> tenantId

Properties

IsAllRead

Declaration
public virtual bool IsAllRead { get; protected set; }
Property Value
Type Description
System.Boolean

ReadTime

Declaration
public virtual DateTime? ReadTime { get; protected set; }
Property Value
Type Description
System.Nullable<DateTime>

TenantId

Declaration
public virtual Guid? TenantId { get; protected set; }
Property Value
Type Description
System.Nullable<Guid>

Text

Declaration
public virtual string Text { get; protected set; }
Property Value
Type Description
System.String

Methods

MarkAsAllRead(DateTime)

Declaration
public virtual void MarkAsAllRead(DateTime readTime)
Parameters
Type Name Description
DateTime readTime

Implements

IMultiTenant
Back to top Powered by Volosoft