Assembly: Volo.CmsKit.Domain.dll
public class Comment : AggregateRoot<Guid>, IAggregateRoot<Guid>, IEntity<Guid>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasExtraProperties, IHasConcurrencyStamp, IHasCreationTime, IMustHaveCreator, IMultiTenant
Constructors
Declaration
Properties
Declaration
public virtual DateTime CreationTime { get; set; }
Property Value
Declaration
public virtual Guid CreatorId { get; set; }
Property Value
Declaration
public virtual string EntityId { get; protected set; }
Property Value
Declaration
public virtual string EntityType { get; protected set; }
Property Value
Declaration
public virtual string IdempotencyToken { get; set; }
Property Value
Declaration
public virtual bool? IsApproved { get; }
Property Value
Declaration
public virtual Guid? RepliedCommentId { get; protected set; }
Property Value
Declaration
public virtual Guid? TenantId { get; protected set; }
Property Value
Declaration
public virtual string Text { get; protected set; }
Property Value
Declaration
public virtual string Url { get; set; }
Property Value
Methods
Declaration
public virtual Comment Approve()
Returns
Declaration
public virtual Comment Reject()
Returns
Declaration
public virtual void SetText(string text)
Parameters
Type |
Name |
Description |
string |
text |
|
Declaration
protected virtual void SetTextInternal(string text)
Parameters
Type |
Name |
Description |
string |
text |
|
Declaration
public virtual Comment WaitForApproval()
Returns
Implements
Extension Methods