ChipDemo/Core/Features/FeatureList.cs

16 lines
376 B
C#
Raw Permalink Normal View History

2023-04-07 22:10:35 +08:00
using System.Collections.ObjectModel;
using Demo.Models;
namespace Demo.Features;
/// <summary>
/// 功能列表容器
/// </summary>
/// <typeparam name="TMetadata"></typeparam>
2023-04-09 16:22:54 +08:00
public class FeatureList : Dictionary<string, Feature>
2023-04-07 22:10:35 +08:00
{
2023-04-08 08:35:57 +08:00
public FeatureList(IDictionary<string, Feature>? list = null)
: base(list ?? new Dictionary<string, Feature>())
2023-04-07 22:10:35 +08:00
{
}
}