Skip to content

Commit bb2dbd4

Browse files
authored
Update Aggregates.cs
1 parent 6477f27 commit bb2dbd4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Aggregates.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ public Aggregate Get(Type t)
2020

2121
public void Register()
2222
{
23-
Types.ForEach(t => t.Register());
23+
foreach (var type in Types)
24+
{
25+
type.Register();
26+
}
2427
}
2528
}
2629
}

0 commit comments

Comments
 (0)