Show / Hide Table of Contents

Class Comment

Inheritance
object
Entity
Entity<Guid>
BasicAggregateRoot<Guid>
AggregateRoot<Guid>
Comment
Implements
IAggregateRoot<Guid>
IEntity<Guid>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasExtraProperties
IHasConcurrencyStamp
IHasCreationTime
IMustHaveCreator
IMultiTenant
Inherited Members
AggregateRoot<Guid>.Validate(ValidationContext)
AggregateRoot<Guid>.ExtraProperties
AggregateRoot<Guid>.ConcurrencyStamp
BasicAggregateRoot<Guid>.GetLocalEvents()
BasicAggregateRoot<Guid>.GetDistributedEvents()
BasicAggregateRoot<Guid>.ClearLocalEvents()
BasicAggregateRoot<Guid>.ClearDistributedEvents()
BasicAggregateRoot<Guid>.AddLocalEvent(object)
BasicAggregateRoot<Guid>.AddDistributedEvent(object)
Entity<Guid>.GetKeys()
Entity<Guid>.ToString()
Entity<Guid>.Id
Entity.EntityEquals(IEntity)
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.CmsKit.Comments
Assembly: Volo.CmsKit.Domain.dll
Syntax
public class Comment : AggregateRoot<Guid>, IAggregateRoot<Guid>, IEntity<Guid>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasExtraProperties, IHasConcurrencyStamp, IHasCreationTime, IMustHaveCreator, IMultiTenant

Constructors

Comment()

Declaration
protected Comment()

Properties

CreationTime

Declaration
public virtual DateTime CreationTime { get; set; }
Property Value
Type Description
DateTime

CreatorId

Declaration
public virtual Guid CreatorId { get; set; }
Property Value
Type Description
Guid

EntityId

Declaration
public virtual string EntityId { get; protected set; }
Property Value
Type Description
string

EntityType

Declaration
public virtual string EntityType { get; protected set; }
Property Value
Type Description
string

IdempotencyToken

Declaration
public virtual string IdempotencyToken { get; set; }
Property Value
Type Description
string

IsApproved

Declaration
public virtual bool? IsApproved { get; }
Property Value
Type Description
bool?

RepliedCommentId

Declaration
public virtual Guid? RepliedCommentId { get; protected set; }
Property Value
Type Description
Guid?

TenantId

Declaration
public virtual Guid? TenantId { get; protected set; }
Property Value
Type Description
Guid?

Text

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

Url

Declaration
public virtual string Url { get; set; }
Property Value
Type Description
string

Methods

Approve()

Declaration
public virtual Comment Approve()
Returns
Type Description
Comment

Reject()

Declaration
public virtual Comment Reject()
Returns
Type Description
Comment

SetText(string)

Declaration
public virtual void SetText(string text)
Parameters
Type Name Description
string text

SetTextInternal(string)

Declaration
protected virtual void SetTextInternal(string text)
Parameters
Type Name Description
string text

WaitForApproval()

Declaration
public virtual Comment WaitForApproval()
Returns
Type Description
Comment

Implements

IAggregateRoot<TKey>
IEntity<TKey>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasExtraProperties
IHasConcurrencyStamp
IHasCreationTime
IMustHaveCreator
IMultiTenant

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform