// ReSharper disable once CheckNamespace using System; using JetBrains.Annotations; // ReSharper disable once CheckNamespace namespace Volo.Abp.SettingManagement.Blazor; public class SettingComponentGroup { public string Id { get => _id; set => _id = Check.NotNullOrWhiteSpace(value, nameof(Id)); } private string _id; public string DisplayName { get => _displayName; set => _displayName = Check.NotNullOrWhiteSpace(value, nameof(DisplayName)); } private string _displayName; public Type ComponentType { get => _componentType; set => _componentType = Check.NotNull(value, nameof(ComponentType)); } private Type _componentType; public object Parameter { get; set; } public SettingComponentGroup([NotNull] string id, [NotNull] string displayName, [NotNull] Type componentType, object parameter = null) { Id = id; DisplayName = displayName; ComponentType = componentType; Parameter = parameter; } }