You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
998 B
38 lines
998 B
// ReSharper disable once CheckNamespace
|
|
|
|
using System;
|
|
using JetBrains.Annotations;
|
|
|
|
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;
|
|
}
|
|
}
|
|
|