Show / Hide Table of Contents

Class Comment

Inheritance
System.Object
Entity
Entity<Guid>
BasicAggregateRoot<Guid>
AggregateRoot<Guid>
CreationAuditedAggregateRoot<Guid>
AuditedAggregateRoot<Guid>
FullAuditedAggregateRoot<Guid>
Comment
Implements
IAggregateRoot<Guid>
IEntity<Guid>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasExtraProperties
IHasConcurrencyStamp
ICreationAuditedObject
IAuditedObject
IFullAuditedObject
Inherited Members
FullAuditedAggregateRoot<Guid>.IsDeleted
FullAuditedAggregateRoot<Guid>.DeleterId
FullAuditedAggregateRoot<Guid>.DeletionTime
AuditedAggregateRoot<Guid>.LastModificationTime
AuditedAggregateRoot<Guid>.LastModifierId
CreationAuditedAggregateRoot<Guid>.CreationTime
CreationAuditedAggregateRoot<Guid>.CreatorId
AggregateRoot<Guid>.ExtraProperties
AggregateRoot<Guid>.ConcurrencyStamp
AggregateRoot<Guid>.Validate(ValidationContext)
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.Blogging.Comments
Assembly: Volo.Blogging.Domain.dll
Syntax
public class Comment : FullAuditedAggregateRoot<Guid>, IAggregateRoot<Guid>, IEntity<Guid>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasExtraProperties, IHasConcurrencyStamp, ICreationAuditedObject, IAuditedObject, IFullAuditedObject

Constructors

Comment()

Declaration
protected Comment()

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

Declaration
public Comment(Guid id, Guid postId, Guid? repliedCommentId, string text)
Parameters
Type Name Description
Guid id
Guid postId
System.Nullable<Guid> repliedCommentId
System.String text

Properties

PostId

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

RepliedCommentId

Declaration
public virtual Guid? RepliedCommentId { 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 void SetText(string text)
Parameters
Type Name Description
System.String text

Implements

IAggregateRoot<TKey>
IEntity<TKey>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasExtraProperties
IHasConcurrencyStamp
ICreationAuditedObject
IAuditedObject
IFullAuditedObject

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