Skip to content

Commit

Permalink
Merge pull request #192 from intelligentplant/feature/tag-count
Browse files Browse the repository at this point in the history
Add tag count to TagManager
  • Loading branch information
wazzamatazz authored May 9, 2022
2 parents 79d9b30 + d030693 commit 6fffae8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Major": 2,
"Minor": 4,
"Patch": 0,
"PreRelease": ""
"Patch": 1,
"PreRelease": "pre"
}
5 changes: 5 additions & 0 deletions src/DataCore.Adapter/Tags/TagManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ public class TagManager : ITagSearch, IFeatureHealthCheck, IDisposable {
/// <inheritdoc/>
public IBackgroundTaskService BackgroundTaskService { get; }

/// <summary>
/// The number of tag definitions held by the <see cref="TagManager"/>.
/// </summary>
public int Count => _tagsById.Count;


/// <summary>
/// Creates a new <see cref="TagManager"/> object.
Expand Down

0 comments on commit 6fffae8

Please sign in to comment.