Skip to content

Commit

Permalink
Added ViewCount property for testing, updated comments (FantasticFias…
Browse files Browse the repository at this point in the history
  • Loading branch information
i28423 authored and i28423 committed Sep 28, 2023
1 parent fc1e4d7 commit 284976b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/DialogServiceViews.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private static void IsRegisteredChanged(
#endregion

/// <summary>
/// Gets the registered views.
/// Gets the registered views on the current thread.
/// </summary>
internal static IEnumerable<IView> Views => InternalViews
.Where(view =>
Expand All @@ -92,6 +92,10 @@ private static void IsRegisteredChanged(
.Select(view => view.Value)
.ToArray();

/// <summary>
/// Gets the total count of the registered views
/// </summary>
internal static int ViewCount => InternalViews.Count;

/// <summary>
/// Registers specified view.
Expand Down

0 comments on commit 284976b

Please sign in to comment.