Skip to content

Commit 1c22ca1

Browse files
committed
merge from comments branch
2 parents 7fc6c5f + a070f40 commit 1c22ca1

18 files changed

+713
-11
lines changed

logo/logo.png

1.84 KB
Loading

src/DDDToolkit.Core/AggregateRoot.cs

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,25 @@
11
using DDDToolkit.Core.Interfaces;
2-
using System.Collections.Generic;
32

43
namespace DDDToolkit.Core
54
{
5+
/// <summary>
6+
/// <para>
7+
/// A semantic difference from <see cref="IEntity{T}"/>, the
8+
/// aggregate root represents an entity that is resposible for
9+
/// handling all interactions with the aggregate.
10+
/// </para>
11+
/// <para>
12+
/// Behaviour is identical to <see cref="IEntity{T}"/>, and
13+
/// equality is defined by the two aggregate roots being of the
14+
/// same type, with Ids that are equal.
15+
/// </para>
16+
/// <para>
17+
/// In addition to the behaviour of <see cref="IEntity{T}"/>, the
18+
/// aggregate root should be used by repositories, services, etc to
19+
/// help control the points of interactions with entities.
20+
/// </para>
21+
/// </summary>
22+
/// <typeparam name="T">The type of the Id for the Aggregate Root.</typeparam>
623
public abstract class AggregateRoot<T> : Entity<T>, IAggregateRoot<T>
724
{
825
}

src/DDDToolkit.Core/DDDToolkit.Core.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@
1616
<Version>2.0.0</Version>
1717
</PropertyGroup>
1818

19+
<PropertyGroup>
20+
<DocumentationFile>C:\Users\paulj\source\repos\DDDToolkit\src\DDDToolkit.Core\DDDToolkit.Core.xml</DocumentationFile>
21+
</PropertyGroup>
22+
1923
<ItemGroup>
20-
<None Include="..\..\LICENSE" Pack="true" PackagePath=""/>
24+
<None Include="..\..\LICENSE" Pack="true" PackagePath="" />
2125
</ItemGroup>
2226

2327
<ItemGroup>

src/DDDToolkit.Core/DDDToolkit.Core.xml

Lines changed: 256 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)