|
|
@ -5,6 +5,8 @@ namespace Volo.Abp.SettingManagement.Blazor; |
|
|
|
|
|
|
|
|
public class SettingComponentGroup |
|
|
public class SettingComponentGroup |
|
|
{ |
|
|
{ |
|
|
|
|
|
public const int DefaultOrder = 1000; |
|
|
|
|
|
|
|
|
public string Id { |
|
|
public string Id { |
|
|
get => _id; |
|
|
get => _id; |
|
|
set => _id = Check.NotNullOrWhiteSpace(value, nameof(Id)); |
|
|
set => _id = Check.NotNullOrWhiteSpace(value, nameof(Id)); |
|
|
@ -24,12 +26,15 @@ public class SettingComponentGroup |
|
|
private Type _componentType; |
|
|
private Type _componentType; |
|
|
|
|
|
|
|
|
public object Parameter { get; set; } |
|
|
public object Parameter { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public int Order { get; set; } |
|
|
|
|
|
|
|
|
public SettingComponentGroup([NotNull] string id, [NotNull] string displayName, [NotNull] Type componentType, object parameter = null) |
|
|
public SettingComponentGroup([NotNull] string id, [NotNull] string displayName, [NotNull] Type componentType, object parameter = null, int order = DefaultOrder) |
|
|
{ |
|
|
{ |
|
|
Id = id; |
|
|
Id = id; |
|
|
DisplayName = displayName; |
|
|
DisplayName = displayName; |
|
|
ComponentType = componentType; |
|
|
ComponentType = componentType; |
|
|
Parameter = parameter; |
|
|
Parameter = parameter; |
|
|
|
|
|
Order = order; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|