Skip to content

Commit c26826b

Browse files
authored
Merge pull request #7136 from umbraco/cms/smallfixes
Small fixes
2 parents 6a1c3f5 + 994a911 commit c26826b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
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:

16/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/radiobutton-list.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ You can use dictionary items to translate the values of a Radiobutton List prope
2626

2727
#### Without Models Builder
2828

29+
{% code caption="HomePageTemplate.cs" %}
30+
2931
```csharp
3032
@if (Model.HasValue("colorTheme"))
3133
{
@@ -34,6 +36,8 @@ You can use dictionary items to translate the values of a Radiobutton List prope
3436
}
3537
```
3638

39+
{% endcode %}
40+
3741
#### With Models Builder
3842

3943
```csharp

16/umbraco-cms/reference/using-ioc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ If you need to inject your service into a controller or another service, you wil
225225

226226
{% code title="FooController.cs" %}
227227

228-
```csharp
228+
```none
229229
using IOCDocs.Services;
230230
using Microsoft.AspNetCore.Mvc;
231231

0 commit comments

Comments
 (0)