Skip to content

Commit a0c2463

Browse files
Write shorter sentences
1 parent 76b1015 commit a0c2463

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

14/umbraco-cms/reference/querying/itagquery.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Working with tags in Umbraco
44

55
# ITagQuery
66

7-
The `ITagQuery` interface is your primary way to work with tags in Umbraco, the interface allows you to get the various tags like content tags and media tags, as well as getting content by tag, for instance getting all content nodes with the "Umbraco" tag.
7+
The `ITagQuery` interface is your primary way to work with tags in Umbraco. This interface allows you to get different tags, such as content tags and media tags. It also lets you retrieve content by tag, for instance, getting all content nodes with the "Umbraco" tag.
88

99
## How to reference ITagQuery
1010

@@ -46,7 +46,7 @@ public class TagApiController : Controller
4646
```
4747

4848
{% hint style="warning" %}
49-
`ITagQuery` is a scoped service, meaning that it should only be injected into scoped or transient services, for more information see the official [Microsoft Documentation](https://docs.microsoft.com/en-us/dotnet/core/extensions/dependency-injection#scoped)
49+
`ITagQuery` is a scoped service, meaning that it should only be injected into scoped or transient services. For more information see the official [Microsoft Documentation](https://docs.microsoft.com/en-us/dotnet/core/extensions/dependency-injection#scoped)
5050
{% endhint %}
5151

5252
## Examples
@@ -55,7 +55,7 @@ All examples are from a view using the injection shown above, but working with t
5555

5656
### GetAllContentTags(\[string tagGroup])
5757

58-
Get a collection of tags used by content items on the site, you can optionally pass in a group name to only list tags belonging to a specific tag group
58+
Get a collection of tags used by content items on the site. Optionally, you can pass in a group name to only list tags belonging to a specific tag group
5959

6060
```csharp
6161
@{
@@ -66,7 +66,7 @@ Get a collection of tags used by content items on the site, you can optionally p
6666

6767
### GetAllMediaTags(\[string tagGroup])
6868

69-
Get a collection of tags used by media items on the site, you can optionally pass in a group name to only list tags belonging to a specific tag group
69+
Get a collection of tags used by media items on the site. Optionally, you can pass in a group name to only list tags belonging to a specific tag group
7070

7171
```csharp
7272
@{
@@ -77,7 +77,7 @@ Get a collection of tags used by media items on the site, you can optionally pas
7777

7878
### GetAllMemberTags(\[string tagGroup])
7979

80-
Get a collection of tags used by members on the site, you can optionally pass in a group name to only list tags belonging to a specific tag group
80+
Get a collection of tags used by members on the site. Optionally, you can pass in a group name to only list tags belonging to a specific tag group
8181

8282
```csharp
8383
@{
@@ -88,7 +88,7 @@ Get a collection of tags used by members on the site, you can optionally pass in
8888

8989
### GetAllTags(\[string tagGroup])
9090

91-
Get a collection of tags used on the site, you can optionally pass in a group name to only list tags belonging to a specific tag group
91+
Get a collection of tags used on the site. Optionally, you can pass in a group name to only list tags belonging to a specific tag group
9292

9393
```csharp
9494
@{
@@ -149,7 +149,7 @@ Get a collection of tags by entity id (queries content, media and members), and
149149

150150
### GetTagsForProperty(int contentId, string propertyTypeAlias, \[string tagGroup])
151151

152-
Get a collection of tags assigned to a property of an entity (queries content, media and members), and you can optionally filter by tag group as well
152+
Get a collection of tags assigned to a property of an entity (queries content, media and members). Optionally, you can filter by tag group as well
153153

154154
```csharp
155155
@{

0 commit comments

Comments
 (0)