Class Blog
Inheritance
System.Object
Entity<Guid>
BasicAggregateRoot<Guid>
AggregateRoot<Guid>
AuditedAggregateRoot<Guid>
FullAuditedAggregateRoot<Guid>
Blog
Inherited Members
Namespace: Volo.Blogging.Blogs
Assembly: Volo.Blogging.Domain.dll
Syntax
public class Blog : FullAuditedAggregateRoot<Guid>, IAggregateRoot<Guid>, IEntity<Guid>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasExtraProperties, IHasConcurrencyStamp, ICreationAuditedObject, IAuditedObject, IFullAuditedObject
Constructors
Blog()
Declaration
protected Blog()
Blog(Guid, String, String)
Declaration
public Blog(Guid id, string name, string shortName)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | |
System.String | name | |
System.String | shortName |
Properties
Description
Declaration
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Declaration
public virtual string Name { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
ShortName
Declaration
public virtual string ShortName { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
SetName(String)
Declaration
public virtual Blog SetName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
Blog |
SetShortName(String)
Declaration
public virtual Blog SetShortName(string shortName)
Parameters
Type | Name | Description |
---|---|---|
System.String | shortName |
Returns
Type | Description |
---|---|
Blog |
Implements
IHasExtraProperties