Show / Hide Table of Contents

Class Comment

Inheritance
System.Object
Entity
Entity<Guid>
BasicAggregateRoot<Guid>
Comment
Implements
IAggregateRoot<Guid>
IEntity<Guid>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasCreationTime
IMustHaveCreator
IMultiTenant
Inherited Members
BasicAggregateRoot<Guid>.GetLocalEvents()
BasicAggregateRoot<Guid>.GetDistributedEvents()
BasicAggregateRoot<Guid>.ClearLocalEvents()
BasicAggregateRoot<Guid>.ClearDistributedEvents()
BasicAggregateRoot<Guid>.AddLocalEvent(Object)
BasicAggregateRoot<Guid>.AddDistributedEvent(Object)
Entity<Guid>.Id
Entity<Guid>.GetKeys()
Entity<Guid>.ToString()
Entity.EntityEquals(IEntity)
Namespace: Volo.CmsKit.Comments
Assembly: Volo.CmsKit.Domain.dll
Syntax
public class Comment : BasicAggregateRoot<Guid>, IAggregateRoot<Guid>, IEntity<Guid>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasCreationTime, IMustHaveCreator, IMultiTenant

Constructors

Comment()

Declaration
protected Comment()

Comment(Guid, String, String, String, Nullable<Guid>, Guid, Nullable<Guid>)

Declaration
public Comment(Guid id, string entityType, string entityId, string text, Guid? repliedCommentId, Guid creatorId, Guid? tenantId = null)
Parameters
Type Name Description
Guid id
System.String entityType
System.String entityId
System.String text
System.Nullable<Guid> repliedCommentId
Guid creatorId
System.Nullable<Guid> tenantId

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
System.String

EntityType

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

RepliedCommentId

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

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

SetText(String)

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

SetTextInternal(String)

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

Implements

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

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft