Skip to content

Commit

Permalink
Expose loaded ConfigModules and ItemsMap
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchLeaders committed Jul 11, 2023
1 parent 6213b83 commit 9b97a40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ConfigFactory/Models/ConfigPageModel.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using ConfigFactory.Core;
using Dock.Model.Mvvm.Controls;
using System.Collections.ObjectModel;

Expand All @@ -10,7 +11,8 @@ namespace ConfigFactory.Models;
/// </summary>
public partial class ConfigPageModel : Document
{
internal Dictionary<string, ConfigItem> ItemsMap { get; } = new();
public Dictionary<string, IConfigModule> ConfigModules { get; } = new();
public Dictionary<string, ConfigItem> ItemsMap { get; } = new();

/// <summary>
/// The loaded <see cref="ConfigCategory"/> objects
Expand Down

0 comments on commit 9b97a40

Please sign in to comment.