Skip to content

Commit d8eede5

Browse files
Sofie Toft KristensenSofie Toft Kristensen
authored andcommitted
Small fixes
1 parent bce2db1 commit d8eede5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

16/umbraco-cms/extending/creating-custom-seed-key-provider.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class BlogSeedKeyProvider : IDocumentSeedKeyProvider
3131
}
3232
```
3333

34-
Next we'll inject the `IDocumentNavigationQueryService` in order to get the children of the blog node.
34+
2. Inject the `IDocumentNavigationQueryService` to get the children of the blog node.
3535

3636
```csharp
3737
using Umbraco.Cms.Core.Services.Navigation;
@@ -66,6 +66,7 @@ public ISet<Guid> GetSeedKeys()
6666
return new HashSet<Guid>();
6767
}
6868
```
69+
6970
Since this returns it as a set, and all the sets get unioned, we do not have to worry about duplicates.
7071

7172
The final class looks like this:

0 commit comments

Comments
 (0)