Class Message
Inheritance
System.Object
Message
Assembly: Volo.Chat.Domain.dll
Syntax
public class Message : CreationAuditedAggregateRoot<Guid>, IMultiTenant
Constructors
Message()
Declaration
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